Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created July 3, 2021 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/f90c81ae80d733f7c101acb81966a138 to your computer and use it in GitHub Desktop.
Save amankharwal/f90c81ae80d733f7c101acb81966a138 to your computer and use it in GitHub Desktop.
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
from nltk.sentiment.vader import SentimentIntensityAnalyzer
sentiments = SentimentIntensityAnalyzer()
data = pd.read_csv("hotel_reviews.csv")
print(data.head())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment