Numpy

numpy you should learn some basic math,like matrix,integral,probablity and statistics. You can learn https://numpy.org from if you wanna more get function reference print(help(numpy.xxxx)) Constructing a multidimensional array numpy.array() It must force conversion if the data is not the same type in array: eg: # constructing a array # one dimensional array vector = numpy.array([5,10,15,20]) # 2D array,action it has two [] matrix = numpy.array([[5,10,15],[20,25,30],[35,40,45]]) print(vector) print(matrix) It's hard to constructing a array which have dimensional more than three mumpy/0.ipynb/13*14 Checking the structure of a array,we mostly use it to debug. print(xxxx.shape) search print(xxxx[x,y]) print(xxxxx[,1]) # ge......

April 2020
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930