Skip to content

Commit ee1544c

Browse files
committed
checking if minor changes also leads to failures
1 parent 3b408ca commit ee1544c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

pandas/core/series.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,15 +1821,6 @@ def _set_name(
18211821
b 185.0
18221822
Name: Max Speed, dtype: float64
18231823
1824-
Grouping by numeric labels yields similar results:
1825-
1826-
>>> ser.groupby([0, 1, 0, 1]).mean()
1827-
0 210.0
1828-
1 185.0
1829-
Name: Max Speed, dtype: float64
1830-
1831-
We can group by a level of the index:
1832-
18331824
>>> ser.groupby(level=0).mean()
18341825
Falcon 370.0
18351826
Parrot 25.0

0 commit comments

Comments
 (0)