79236660

Date: 2024-11-29 10:14:39
Score: 3.5
Natty:
Report link

Providing additional link to documentation for Timus's answer

Here is a link to the documentation which explains groupby on categorical dtypes:

https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#handling-of-un-observed-categorical-values

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: VH2020