Created
March 15, 2016 20:43
-
-
Save nomeyer/666ea9fb9509ed5c815f to your computer and use it in GitHub Desktop.
Lowercase an entire Pandas DataFrame string column (from http://stackoverflow.com/questions/22245171/how-to-lowercase-a-python-dataframe-string-column-if-it-has-missing-values)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df['x'].str.lower() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment