在dataframe列上以熊猫描述

时间:2019-01-09 16:02:25

标签: python pandas

我试图在dtaframe中的Amount列上运行describe。该列具有整数值。

Amount
0 0.0
1 10.0
2 15.0
3 10.0
4 10.0

df['Amount'].describe

根据描述操作,结果应具有计数,均值,标准差等

实际结果:

<bound method NDFrame.describe of 0     0.0
1    10.0
2    15.0
3    10.0
4    10.0
Name: Amount, dtype: float64>

0 个答案:

没有答案