Run »
import numpy as np arr = np.fix([-3.1666, 3.6667]) print(arr)
[-3. 3.]