matriz de string python ndarray em int

y = y.astype(np.uint8)
Saad Hassan