Created
February 25, 2019 20:07
-
-
Save ravishchawla/2bba04a40a8969d1e5961f1725533dad to your computer and use it in GitHub Desktop.
AirBnB post: Imports and Data Loading
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
import pandas as pd; | |
import numpy as np; | |
import matplotlib; | |
import matplotlib.pyplot as plt; | |
import seaborn as sns; | |
from nltk.sentiment.vader import SentimentIntensityAnalyzer as SIA | |
from sklearn.linear_model import LogisticRegression | |
from sklearn.model_selection import train_test_split | |
from sklearn.metrics import accuracy_score, f1_score | |
from IPython.display import display | |
listings = pd.read_csv('data/Seattle/listings.csv'); | |
calandar = pd.read_csv('data/Seattle/calendar.csv'); | |
reviews = pd.read_csv('data/Seattle/reviews.csv'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment