numpy dtype string. 对于一般的dtype,构造函数将元组视为列表a=np.array([(1,1,1,1),(2,2,2,2)],np.int) a[0,0] # 1 对于自定义dtype,构造函数将元组视为结构 ...
確定! 回上一頁