Question 17
Scenario 1: Restaurant Review Data Analysis
Context
A food delivery platform wants to analyze restaurant reviews to identify trending cuisines and customer satisfaction patterns. They have review data in CSV format with ratings, text comments, and timestamps.
Sample Data (restaurants.csv):
Based on the above data, answer the given subquestions.
The dataset has some missing values in the review_text column (some customers left ratings but no comment). Before analyzing review text for common words, what should you do?
Ignore missing values and let pandas handle them automatically
Remove rows with missing review text using df.dropna(subset=['review_text'])
Replace all missing review text entries with the word "missing"
Delete the entire review_text column from the dataset