Created
July 20, 2017 16:32
-
-
Save FranciscusRenatus/835d940f9c2479cdfc9269ca4d241f10 to your computer and use it in GitHub Desktop.
This file contains 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
import re | |
review = re.sub('[^a-zA-Z]', ' ', dataset['Review'][i]) | |
review = review.lower() | |
review = review.split() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment