Run »
import numpy as np arr = np.around(3.1666, 2) print(arr)
3.17