We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Numpy
- Floor, Ceil and Rint
- Discussions
Floor, Ceil and Rint
Floor, Ceil and Rint
Sort by
recency
|
292 Discussions
|
Please Login in order to post a comment
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?