Converting strings to a lower case in pandas [duplicate]

df['url'] = df['url'].str.lower()

should operate on the series and replace it with the lower case version.

Leave a Comment