converting string array into integer array python 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)