点击运行
import numpy as np arr = np.array(['a', '2', '3'], dtype='i')
运行结果