辞梦

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

09 2022 档案

直方图hist
摘要:直方图hist hist( x, bins=None, range=None, normed=False, # 超重要 density=False, weights=None, cumulative=False, bottom=None, histtype='bar', align='mid', r 阅读全文

posted @ 2022-09-07 21:38 辞梦 阅读(260) 评论(0) 推荐(0) 编辑

python函数——zip() map() round() insert()
摘要:df.rename(index=None 以字典的形式,赋予索引新的值,第一行 ,columns=None列 ,axis=None 指定坐标轴 ,inplace=False) 是否使用新生成的列表替换原列表 axis 参数不与index和columns参数连用 zip() 函数 用于将可迭代的对象作 阅读全文

posted @ 2022-09-02 21:26 辞梦 阅读(261) 评论(0) 推荐(0) 编辑

matplotlib 散点图
摘要:在matplotlib一般使用plt.figure来设置窗口尺寸。 plt.figure(figsize=(a, b)) 单位为英寸 fig, ax = plt.subplots(figsize = (a, b)) fig代表绘图窗口(Figure);ax代表这个绘图窗口上的坐标系(axis),一般 阅读全文

posted @ 2022-09-01 21:43 辞梦 阅读(186) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示