DataJam

2021年5月27日 #

2.饼图

摘要: 待更新 阅读全文

posted @ 2021-05-27 23:39 DataJam 阅读(28) 评论(0) 推荐(0)

1.柱状图系列

摘要: 一、单系列柱状图 配置参数:https://pyecharts.org/#/zh-cn/global_options 图例示范:https://gallery.pyecharts.org/#/Bar/bar_rotate_xaxis_label 图标颜色:http://blog.jijiechen. 阅读全文

posted @ 2021-05-27 23:36 DataJam 阅读(155) 评论(0) 推荐(0)

1.matplotlib中文乱码

摘要: 1 import matplotlib.pyplot as plt 2 plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 3 plt.rcParams['axes.unicode_minus']=False #用来正常显示负号 方案2 1 阅读全文

posted @ 2021-05-27 09:41 DataJam 阅读(50) 评论(0) 推荐(0)

5.DataFrame索引与列相关操作

摘要: 1.重命名列或索引名称 1 df =df.rename(columns={'校区': '所属校区', 'All': '总计'}) 1 states = ['c1', 'b2', 'c3'] 2 frame.reindex(columns=states) 2.调整列顺序 1 df = df[['use 阅读全文

posted @ 2021-05-27 09:00 DataJam 阅读(238) 评论(0) 推荐(0)

导航