Skip to content

Commit 631f468

Browse files
committed
testing if removing list works
1 parent 833620d commit 631f468

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/series.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ def _set_name(
18161816
Parrot 20.0
18171817
Name: Max Speed, dtype: float64
18181818
1819-
We can pass a list of values to group the Series data by custom labels:
1819+
We can pass a of values to group the `Series` data by custom labels:
18201820
18211821
>>> ser.groupby(["a", "b", "a", "b"]).mean()
18221822
a 210.0
@@ -1837,7 +1837,7 @@ def _set_name(
18371837
Parrot 25.0
18381838
Name: Max Speed, dtype: float64
18391839
1840-
We can group by a condition applied to the Series values:
1840+
We can group by a condition applied to the `Series` values:
18411841
18421842
>>> ser.groupby(ser > 100).mean()
18431843
Max Speed
@@ -1868,7 +1868,7 @@ def _set_name(
18681868
Parrot 25.0
18691869
Name: Max Speed, dtype: float64
18701870
1871-
We can also group by the 'Type' level of the hierarchical index
1871+
We can also group by the `Type` level of the hierarchical index
18721872
to get the mean speed for each type:
18731873
18741874
>>> ser.groupby(level="Type").mean()
@@ -1894,7 +1894,7 @@ def _set_name(
18941894
NaN 3
18951895
dtype: int64
18961896
1897-
We can also group by a custom list with NaN values to handle
1897+
We can also group by a custom with `NaN` values to handle
18981898
missing group labels:
18991899
19001900
>>> arrays = ['Falcon', 'Falcon', 'Parrot', 'Parrot']

0 commit comments

Comments
 (0)