pandas 绘图"/>
pandas 绘图
目录
- pandas 绘图
-
pandas 绘图
这个pandas绘图不经常用,所以只简单地演示一下,其它常用绘图工具有 matplotlib echarts pyecharts等等
import numpy as np
import pandas as pddf = DataFrame(np.random.randint(0,150,size = (10,2)),columns=['Python','En'],index = list('ABCDEFHIJK'))
df.plot(kind = 'line')'''
图形的种类
kind : str- 'line' : line plot (default)- 'bar' : vertical bar plot- 'barh' : horizontal bar plot- 'hist' : histogram- 'box' : boxplot- 'kde' : Kernel Density Estimation plot- 'density' : same as 'kde'- 'area' : area plot- 'pie' : pie plot
'''
更多推荐
pandas 绘图
发布评论