用DataFrame建立二维数据,直接调用DataFrame的bar()绘制多柱状图
用bar()返回的Axes对象调用Figure的savefig()把统计图输出到图形文件
Use Pandas' DataFrame to create a 2-dimensional (2D) dataset
Call DataFrame's bar() method to plot the multiple bar chart
By accessing the Axes object returned by the bar() function, we can
save the plotting as an image file.
您的点赞, 订阅, 关注, 推荐, 转发和评论都是我坚持做好的最大动力!
如果你喜欢我做的内容, 可以在 Ko-fi 上给我买杯咖啡: https://ko-fi.com/yanyy
If you like my work, I would appreciate that you buy me a coffee: https://ko-fi.com/yanyy
#python #编程 #programming