Skip to content

Instantly share code, notes, and snippets.

@vidit0210
Created February 24, 2020 14:49
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 vidit0210/63e4978fcee3395c882f9bef0b978eb6 to your computer and use it in GitHub Desktop.
Save vidit0210/63e4978fcee3395c882f9bef0b978eb6 to your computer and use it in GitHub Desktop.
cols = list(train_df)
cols.insert(0, cols.pop(cols.index('OUTPUT_LABEL')))
train_df = train_df.loc[:, cols]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment