Skip to content

Instantly share code, notes, and snippets.

@cpard
Created May 28, 2016 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpard/ff9600c2d9f943d1f2e763310c57783d to your computer and use it in GitHub Desktop.
Save cpard/ff9600c2d9f943d1f2e763310c57783d to your computer and use it in GitHub Desktop.
Basic Cleaning of our data
fNames['name'] = fNames.name.str.lower()
mNames['name'] = mNames.name.str.lower()
joinedEventsFrame['first_name'] = joinedEventsFrame['first_name'].replace(to_replace='', value = np.nan)
joinedEventsFrame = joinedEventsFrame.dropna()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment