Skip to content

Instantly share code, notes, and snippets.

@ronakmutha
Created April 1, 2019 05:51
Show Gist options
  • Save ronakmutha/5a0dad063fd87a692476387dab4955e4 to your computer and use it in GitHub Desktop.
Save ronakmutha/5a0dad063fd87a692476387dab4955e4 to your computer and use it in GitHub Desktop.
>>> df['batch'] = df['batch'].str[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment