how to round off all values of an array to 3 decimal places python code example Example: python round number numpy x = np.round(x, decimals = 4)