Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save CharlyWargnier/ab5f2f7edd68366c9182f30aaaf7a362 to your computer and use it in GitHub Desktop.
df[['httpCode','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