DataFrame.plot.hist()

pandas.DataFrame.plot.hist

DataFrame.plot.hist(by=None, bins=10, **kwds) [source]

Histogram

New in version 0.17.0.

Parameters:

by : string or sequence

Column in the DataFrame to group by.

bins: integer, default 10

Number of histogram bins to be used

**kwds : optional

Keyword arguments to pass on to pandas.DataFrame.plot().

Returns:

axes : matplotlib.AxesSubplot or np.array of them

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.19.2/generated/pandas.DataFrame.plot.hist.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部