python groupby lowercase code example Example: how to make all strings in my dataframe lowercase df["first_column"] = df["first_column"].str.lower()