Python、Pandas:GroupBy 属性文档

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/41694460/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 02:48:36  来源:igfitidea点击:

Python, Pandas: GroupBy attributes documentation

pythonpandasjupyter-notebook

提问by Radar

On the Groupby documentation, at that level of the page: http://pandas.pydata.org/pandas-docs/stable/groupby.html#groupby-object-attributes

在 Groupby 文档中,在页面的那个级别:http: //pandas.pydata.org/pandas-docs/stable/groupby.html#groupby-object-attributes

If you scroll down a bit you can see their is a list of all the available groupby attributes:

如果向下滚动一点,您可以看到它们是所有可用 groupby 属性的列表:

gb.agg        gb.boxplot    gb.cummin     gb.describe   gb.filter     gb.get_group  gb.height     gb.last       gb.median     gb.ngroups    gb.plot       gb.rank       gb.std        gb.transform
gb.aggregate  gb.count      gb.cumprod    gb.dtype      gb.first      gb.groups     gb.hist       gb.max        gb.min        gb.nth        gb.prod       gb.resample   gb.sum        gb.var
gb.apply      gb.cummax     gb.cumsum     gb.fillna     gb.gender     gb.head       gb.indices    gb.mean       gb.name       gb.ohlc       gb.quantile   gb.size       gb.tail       gb.weight

Where can I find documentation about what those attributes are/do? Using the ?in Jupyter doesn't show their docs.

我在哪里可以找到关于这些属性是什么/做什么的文档?使用?在Jupyter不显示自己的文档。

回答by Inna

Here also you can find documentation about the attributes: https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html

您还可以在此处找到有关属性的文档:https: //pandas.pydata.org/pandas-docs/stable/reference/groupby.html