当前位置:网站首页>Numpy - creation of data type and array

Numpy - creation of data type and array

2022-04-23 20:16:00 _ Carpediem

Running environment
jupyter notebook+python3.6+numpy1.19.1

1. Constant

 Insert picture description here

2. data type

 Insert picture description here
 Insert picture description here

 Insert picture description here

3. Time, date and time increment

numpy.datetime64() Convert string to time date type
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
datetime64 Application examples :
 Insert picture description here

4. Array creation

numpy The most important data structure provided is ndarray, It is python in list An extension of .

 Insert picture description here

 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here

版权声明
本文为[_ Carpediem]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210553546943.html