python str array to int array code example
Example 1: convert string array to integer python
desired_array = [int(numeric_string) for numeric_string in current_array]
Example 2: python ndarray string array into int
y = y.astype(np.uint8)
desired_array = [int(numeric_string) for numeric_string in current_array]
y = y.astype(np.uint8)