摘要: 数据类型 import numpy as np import random t1 = np.array([1, 2, 3]) print(t1, type(t1)) # [1 2 3] <class 'numpy.ndarray'> t2 = np.array(range(5)) print(t2, 阅读全文
posted @ 2019-08-27 16:28 许二哈哈哈 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 折线图 from matplotlib import pyplot as plt, font_manager import random x = range(2, 26, 2) y = [14, 14.5, 15, 16, 18, 20, 22, 23, 24, 25, 17, 13] # 图片尺寸 阅读全文
posted @ 2019-08-27 13:57 许二哈哈哈 阅读(166) 评论(0) 推荐(0) 编辑