Python,Pandas:GroupBy 属性文档



在 Groupby 文档中,在页面的该级别:http://pandas.pydata.org/pandas-docs/stable/groupby.html#groupby-object-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

在哪里可以找到有关这些属性是什么/做什么的文档?在 Jupyter 中使用?不会显示他们的文档。

我认为您可以按文档查看分组。

  1. 索引、迭代
  2. 功能应用
  3. 计算/描述性统计

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

您可以在此链接中找到所有说明。具体来说,选项卡的子部分GroupBy在左侧菜单中。

最新更新