round each element of numpy array code example Example: how to round numpy array x = np.round(x, decimal = 4)