摘要: 3.numpy.array基础 导入numpy import numpy numpy.__version__ '1.16.5' 也可以将numpy这个包命名 import numpy as np np.__version__ '1.16.5' python 中 list 的的特点 格式自由 list 阅读全文
posted @ 2022-03-31 21:42 饮冰未 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 2.Jupyter Notebook 高级命令 %run 命令 %run myscripts/printhello.py MachineLearning 同时也把printhello这个函数也加载了进来 printhello('MachineLearning') Hello MachineLearn 阅读全文
posted @ 2022-03-31 21:11 饮冰未 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1.Jupyter Notebook初级命令 1 + 2 3 for i in range(3): print('hello world') hello world hello world hello world 5 + 8 * 2 21 5 + 6 11 运行当前单元格 Ctrl + Enter 阅读全文
posted @ 2022-03-31 21:00 饮冰未 阅读(68) 评论(0) 推荐(0) 编辑