python数据分析
一、 初识numpy
1.1 tip
pycharm中可以用Ctrl + Enter在python consloe中运行代码(PyDev console: using IPython 7.22.0
1.2 code
import numpy as np
def main():
lst = [[1, 2, 3], [4, 5, 6]]
print(lst)
print(type(lst))
np_lst = np.array(lst, dtype=int) # 有以下几种
原创
2021-05-24 01:07:34 ·
110 阅读 ·
0 评论