Python for Data Processing and Plong

numpy notation is similar to array slicing and Mat lab and Fortran matrix notation A = numpy.array(range(0, 10)) V = At: # this is a view (shallow copy) -10 # slices are views in numpy print (V, A) B A.copy() this is a deep copy of A BC 01 print (B, A) print (C) print (C) C = print (C) Bt2:-21 because they aren 't the same shape ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download