bar: vertical bar plot barh: horizontal bar plot hist: histogram box:boxplot density/kde: Density Estimation area: area plot pie: pie plot scatter: scatter plot hexbin: hexbin plot 在进行画图时我们有两种调用方法: df = pd.DataFrame({ 'sales': [3, 3, 3, 9, 10, 6], 'signups': [...
‘line’ : line plot (default)#折线图‘bar’ : vertical bar plot#条形图‘barh’ : horizontal bar plot#横向条形图‘hist’ : histogram#柱状图‘box’ : boxplot#箱线图‘kde’ : Kernel Density Estimation plot#Kernel 的密度估计图,主要对柱状图添加Kernel 概率密度线‘density’ : same as ‘kde’...
# 第二种方式 df.plot.bar() <Axes: > # 是否堆叠 df.plot.bar(stacked=True) <Axes: >...
‘line’ : line plot (default)#折线图‘bar’ : vertical bar plot#条形图‘barh’ : horizontal bar plot#横向条形图‘hist’ : histogram#柱状图‘box’ : boxplot#箱线图‘kde’ : Kernel Density Estimation plot#Kernel 的密度估计图,主要对柱状图添加Kernel 概率密度线‘density’ : same as ‘kde’...
‘line’ : line plot (default)#折线图 ‘bar’ : vertical bar plot#条形图 ‘barh’ : horizontal bar plot#横向条形图 ‘hist’ : histogram#柱状图 ‘box’ : boxplot#箱线图 ‘kde’ : Kernel Density Estimation plot#Kernel 的密度估计图,主要对柱状图添加Kernel 概率密度线 ...
-'line':line plot(default)默认值-'bar':vertical bar plot-'barh':horizontal bar plot-'hist':histogram-'box':boxplot-'kde':Kernel Density Estimation plot-'density':sameas'kde'-'area':area plot-'pie':pie plot-'scatter':scatter plot-'hexbin':hexbin plot ...
,legend=False,style=None,logx=False,logy=False,loglog=False,xticks=None,yticks=None,xlim=None,ylim=None,rot=None,fontsize=None,colormap=None,table=False,yerr=None,xerr=None,label=None,secondary_y=False,**kwds)#这个kind可以指定图表类型‘line’:line plot(default)‘bar’:vertical bar plot...
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 ...
plot.hexbin(x, y[, C,…]) #Hexbin plot DataFrame.plot.hist([by, bins]) #直方图Histogram DataFrame.plot.kde(**kwds) #核密度Kernel Density Estimate plot DataFrame.plot.line([x, y]) #线图Line plot DataFrame.plot.pie([y]) #饼图Pie chart DataFrame.plot.scatter(x, y[, s, c]) ...
核密度Kernel Density Estimate plot DataFrame.plot.line([x, y]) 线图Line plot DataFrame.plot.pie([y]) 饼图Pie chart DataFrame.plot.scatter(x, y[, s, c]) 散点图Scatter plot DataFrame.boxplot([column, by, ax, …]) Make a box plot from DataFrame column optionally grouped by some colum...