Skip to content

Instantly share code, notes, and snippets.

@FranciscusRenatus
Created July 20, 2017 16:32
Show Gist options
  • Save FranciscusRenatus/835d940f9c2479cdfc9269ca4d241f10 to your computer and use it in GitHub Desktop.
Save FranciscusRenatus/835d940f9c2479cdfc9269ca4d241f10 to your computer and use it in GitHub Desktop.
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