python numpy基础
基本类型import numpy#向量vector=numpy.array([5,10,15,20])vector==10#矩阵matrix=numpy.array([[5,10,15],[20,25,30],[35,40,45]])matrix==25类型转化astype函数 dtype函数vector1=numpy.array(["1","2","3"])print(vector