How to make a pandas DataFrame string column lowercase in Python

Making a pandas DataFrame string column lowercase returns the column with every string in lowercase while any non-alphabetical characters remain the same.

Solution for How to make a pandas DataFrame string column lowercase in Python : You can use str.lower() to make a DataFrame string column lowercase Call df[“first_column”].str.lower() to make all strings in df[“first_column”] lowercase.


how-to-make-a-pandas-dataframe-string-column-lowercase-in-python