数据类型 注意看下面一个例子: import numpy as np a = np.array([1,2,3]) a.dtype # dtype查看数据类型,注意其不是一个方法,它只是一个属性 dtype('int32') b = np