Skip to content

Instantly share code, notes, and snippets.

@CharlyWargnier
Created February 8, 2020 17:27
Show Gist options
  • Select an option

  • Save CharlyWargnier/d03dc0a808bba9f5646c926453537b49 to your computer and use it in GitHub Desktop.

Select an option

Save CharlyWargnier/d03dc0a808bba9f5646c926453537b49 to your computer and use it in GitHub Desktop.
df[['timeTaken','header']] = df["header"].str.split(" ", 1, expand=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment