Created
December 18, 2018 09:49
-
-
Save jonathanoheix/8a5f975a424f8f564e1341395e7d9f30 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove 'No Negative' or 'No Positive' from text | |
reviews_df["review"] = reviews_df["review"].apply(lambda x: x.replace("No Negative", "").replace("No Positive", "")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment