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