main.py importnumpyasnp arr=np.array([1.3456,2.6789,3.4567,4.7123,5.9456])rounded_arr=np.floor(arr)# 👇️ [1. 2. 3. 4. 5.]print(rounded_arr) Thenumpy.floor()method returns the floor of the supplied array, element-wise.