np round to 2 decimal places code example Example: python round number numpy x = np.round(x, decimals = 4)