np convert to int

>>> x = np.array([[1.0, 2.3], [1.3, 2.9]])
>>> x
array([[ 1. ,  2.3],
       [ 1.3,  2.9]])
>>> x.astype(int)
array([[1, 2],
       [1, 2]])

Here is what the above code is Doing:
1. We create an array of floats.
2. We convert the array to integers.
3. We print the array.

The output is an array of integers.