|
112 | 112 | If the axis is a MultiIndex (hierarchical), group by a particular
|
113 | 113 | level or levels. Do not specify both ``by`` and ``level``.
|
114 | 114 | as_index : bool, default True
|
115 |
| - For aggregated output, return object with group labels as the |
| 115 | + Return object with group labels as the |
116 | 116 | index. Only relevant for DataFrame input. as_index=False is
|
117 |
| - effectively "SQL-style" grouped output. |
| 117 | + effectively "SQL-style" grouped output. This argument has no effect |
| 118 | + on filtrations (see the `filtrations in the user guide |
| 119 | + <https://pandas.pydata.org/docs/dev/user_guide/groupby.html#filtration>`_), |
| 120 | + such as ``head()``, ``tail()``, ``nth()`` and in transformations |
| 121 | + (see the `transformations in the user guide |
| 122 | + <https://pandas.pydata.org/docs/dev/user_guide/groupby.html#transformation>`_). |
118 | 123 | sort : bool, default True
|
119 | 124 | Sort group keys. Get better performance by turning this off.
|
120 | 125 | Note this does not influence the order of observations within each
|
121 | 126 | group. Groupby preserves the order of rows within each group.
|
| 127 | + This argument has no effect on filtrations (see the `filtrations in the user guide |
| 128 | + <https://pandas.pydata.org/docs/dev/user_guide/groupby.html#filtration>`_), |
| 129 | + such as ``head()``, ``tail()``, ``nth()`` and in transformations |
| 130 | + (see the `transformations in the user guide |
| 131 | + <https://pandas.pydata.org/docs/dev/user_guide/groupby.html#transformation>`_). |
122 | 132 |
|
123 | 133 | .. versionchanged:: 2.0.0
|
124 | 134 |
|
|
0 commit comments