January 2018
Beginner to intermediate
316 pages
7h 14m
English
Let's look at the shape of our dataset:
hotel_reviews.shape(35912, 19)This is showing us that we are working with 35,912 rows and 19 columns. Eventually, we will be concerned only with the column that contains the text data, but for now, let's see what the first few rows look like to get a better sense of what is included in our data:
hotel_reviews.head()
This gives us the following table:
|
address |
categories |
city |
country |
latitude |
longitude |
name |
postalCode |
province |
reviews. date |
reviews. dateAdded |
reviews. doRecommend |
reviews. id |
reviews. rating |
reviews. text |
reviews. title |
reviews. userCity |
reviews. username |
reviews. userProvince |
|
0 |
Riviera San Nicol 11/a |
Hotels ... |
Read now
Unlock full access