File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 94
94
If ``by`` is a function, it's called on each value of the object's
95
95
index. If a dict or Series is passed, the Series or dict VALUES
96
96
will be used to determine the groups (the Series' values are first
97
- aligned; see ``.align()`` method). If an ndarray is passed, the
98
- values are used as-is to determine the groups. A label or list of
99
- labels may be passed to group by the columns in ``self``. Notice
100
- that a tuple is interpreted as a (single) key.
97
+ aligned; see ``.align()`` method). If a list or ndarray of length
98
+ equal to the selected axis is passed (see the `groupby user guide
99
+ <https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#splitting-an-object-into-groups>`),
100
+ the values are used as-is to determine the groups. A label or list
101
+ of labels may be passed to group by the columns in ``self``.
102
+ Notice that a tuple is interpreted as a (single) key.
101
103
axis : {0 or 'index', 1 or 'columns'}, default 0
102
104
Split along rows (0) or columns (1).
103
105
level : int, level name, or sequence of such, default None
You can’t perform that action at this time.
0 commit comments