You are viewing a single comment's thread. Return to all comments →
import numpy arr = numpy.array([1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9])
print(numpy.floor(arr)) print(numpy.ceil(arr)) print(numpy.rint(arr))
this code not working?
Seems like cookies are disabled on this browser, please enable them to open this website
Floor, Ceil and Rint
You are viewing a single comment's thread. Return to all comments →
import numpy arr = numpy.array([1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9])
print(numpy.floor(arr)) print(numpy.ceil(arr)) print(numpy.rint(arr))
this code not working?