Why apply df[“region”].str.title() before groupby(“region”)?

Questions

Why аpply df["regiоn"].str.title() befоre grоupby("region")?