您的位置:首页 > 编程语言 > Python开发

利用python进行数据分析——histogram

2017-05-19 17:49 381 查看
DataFrame.
hist
(data, column=None, by=None, grid=True, xlabelsize=None, xrot=None, ylabelsize=None, yrot=None,ax=None, sharex=False, sharey=False, figsize=None, layout=None, bins=10, **kwds)
data : DataFramecolumn : string or sequence 字符串或序列
by : object, optionalIf passed, then used to form histograms(直方图) for separate groupsgrid : boolean, default True 网格线,默认为使用
xlabelsize : int, default NoneIf specified changes the x-axis label sizexrot : float, default Nonerotation of x axis labels ylabelsize : int, default NoneIf specified changes the y-axis label sizeyrot : float, default Nonerotation of y axis labelsax : 轴对象,默认为空sharex : boolean, default True if ax is None else FalseIn case subplots=True, share x axis and set some x axis labels to invisible; defaults to True if ax is None otherwise False if an ax is passed in; Be aware, that passing in both an ax and sharex=True will alter all x axis labels for all subplots in a figure!sharey : boolean, default FalseIn case subplots=True, share y axis and set some y axis labels to invisiblefigsize : tupleThe size of the figure to create in inches by defaultlayout : tuple, optionalTuple of (rows, columns) for the layout of the histogramsbins : integer, default 10直方图(柱状图)分箱数目,默认为10kwds : other plotting keyword argumentsTo be passed to hist function
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  python hist()