Skip to content

Instantly share code, notes, and snippets.

@JeremiahKamama
Created July 9, 2021 06:54
Show Gist options
  • Save JeremiahKamama/3746e51ce70416681bf854c0e112e90a to your computer and use it in GitHub Desktop.
Save JeremiahKamama/3746e51ce70416681bf854c0e112e90a to your computer and use it in GitHub Desktop.
imdb.sentiment.replace("positive", 1 , inplace= True)
imdb.sentiment.replace("negative", 0, inplace= True)
imdb.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment