Skip to content

Instantly share code, notes, and snippets.

@cpard
Created May 28, 2016 22:03
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/8c4a75e85bbb2d3d17f809de3b9c7382 to your computer and use it in GitHub Desktop.
Save cpard/8c4a75e85bbb2d3d17f809de3b9c7382 to your computer and use it in GitHub Desktop.
Events enriched with the gender of the recipient
joinedEventsFrame = joinedEventsFrame.merge(joinedEventsFrame['first_name'].apply(findGender).to_frame(name='gender'), left_index=True, right_index=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment