Glossary: pandas Beyond the Basics
observed=False
Also written: observed
A groupby option that makes a category column list every category, including empty ones with a count of 0. In pandas 3 the default shows only categories that occur.
Glossary: pandas Beyond the Basics
Also written: observed
A groupby option that makes a category column list every category, including empty ones with a count of 0. In pandas 3 the default shows only categories that occur.