We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4659a8a commit e6734bcCopy full SHA for e6734bc
pandas/core/series.py
@@ -1972,7 +1972,7 @@ def groupby(
1972
as_index: bool = True,
1973
sort: bool = True,
1974
group_keys: bool = True,
1975
- observed: bool = False,
+ observed: bool = True,
1976
dropna: bool = True,
1977
) -> SeriesGroupBy:
1978
from pandas.core.groupby.generic import SeriesGroupBy
0 commit comments