numpy的astype, dtype

astype for data type conversion. astype not change to a ndarray in place, in other words, each time you use astype, will have a new array.

dtype to view data in the array type element

Guess you like

Origin www.cnblogs.com/picassooo/p/12556161.html