round method in python in numpy array code example Example: python round number numpy x = np.round(x, decimals = 4)