how to convert float type to int in python an array code example
Example 1: convert all values in array into float
import numpy as np
x = np.array(['1.1', '2.2', '3.3'])
y = x.astype(np.float)
Example 2: how to make all elements in array int python
for i, v in enumerate(numbers): numbers[i] = int(v)