TypeError: type numpy.ndarray doesn't define __round__ method...
Thenumpy.floor()method returns the floor of the supplied array, element-wise. The floor of the numberxis the largest integeri, such thati<=x. I've also written an article onhow to round a float to N decimal places in Python.