Numpy
numpy创建数组
1: 使用np.ndarray()创建
2: np.random.randn(3,4) 【生成的数据符合正态分布】
numpy中的function
1:stack():Join a sequence of arrays along a new axis
2:hstack():Stack arrays in sequence in horizontally(column wise)
3:numpy.vstack(tup),等价于np.concatenate(tup, axis=0) if tup contains arrays thatare at least 2-dimensional.
4:numpy.dstack:Stack arrays in sequence depth wise(along third dimension)
5:numpy.concatenate函数,函数原型numpy.concatenate((a1,a2..),axis=0)
6:numpy.vsplit函数, split an array into multiple sub-arrays vertically(row-wise)