Skip to content

Instantly share code, notes, and snippets.

@Nithilaa
Created June 10, 2021 03:24
Show Gist options
  • Save Nithilaa/70739ff457b5ab1171859679041ecec6 to your computer and use it in GitHub Desktop.
Save Nithilaa/70739ff457b5ab1171859679041ecec6 to your computer and use it in GitHub Desktop.
dropping columns that are not necessary
df1 = df1.drop(["review_id", "title", "year"], axis=1)
df1 = df1.rename(columns={"user_suggestion":"Flag", "user_review":"Review"})
df1.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment