摘要: 学习过程中跟着敲的代码:import matplotlib.pyplot as pltfrom matplotlib.image import imreadplt.rcParams["font.sans-serif"] = ['Arial Unicode MS'] # 设置字体# plt.rcPar 阅读全文
posted @ 2023-04-09 16:03 Men! 阅读(41) 评论(0) 推荐(0) 编辑
摘要: import numpy as nparr = np.array([1, 2, 3])print(arr.shape)print(arr)arr = np.arange(10)print(arr.shape)print(arr)# (开始,截止,步长)# [开始,截止)范围内步长为间隔的更新arr 阅读全文
posted @ 2023-04-09 11:03 Men! 阅读(15) 评论(0) 推荐(0) 编辑