[python] How to convert 2D float numpy array to 2D int numpy array?