[英]Plot separate histograms from dataframe python
I have a data frame table "pandastable3" that looks like this: 我有一个数据框表“ pandastable3”,看起来像这样:
I would like to plot histograms of values for all the columns separately, but so far I am able to get only a single figure containing all the plots together with this to plot the first 3 columns: 我想分别绘制所有列的值的直方图,但是到目前为止,我只能得到一个包含所有图表的图形,并以此绘制前三列:
pandastable3.hist(layout=(1,2,3))
But I am not sure I am doing that correctly as I cannot visualize anything. 但是我不确定我做得正确,因为我看不到任何东西。
我想diff()
为每一列给出不同的图:
pandastable3.diff().hist()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.