使用python 中的numpy建立數組

使用nump建立數組的方法: (1)導入numpy模塊: import numpy as np 注意:若是是純python,默認是不安裝numpy庫的,須要在python中先安裝numpy模塊. 若是使用anaconda中的python,則默認是安裝numpy庫python (2)使用python列表建立numpy數組: 一維數組: score13 = [89,90,55] array_1d =
相關文章
相關標籤/搜索