Learn practical skills, build real-world projects, and advance your career

Introduction

Zomato is a popular business in the restaurants space. It allows customer to search for restaurants based on their preferences. It also provides with food deliver services. The USP of Zomato is its reviews on restaurants.

Analysing this data, can help restaurants understand, what customer like and dislike about their restaurant and improve it. It also allows you to compare customer reviews and ratings of your competitior across location, cuisine and type of service provided.

These information can be vital in understanding customer requirements when starting a new restaurant or trying to improve your own restaurant business.

In this notebook, we are using the Zomato Restaurants in Bangalore data from kaggle. The link to download the notebook is as below:

https://www.kaggle.com/himanshupoddar/zomato-bangalore-restaurants

Though, there can be many other analysis done on this data,we will be using the reviews data to understand how NLP techniques can help make sense of the huge trove of data captured through Reviews.

Imports

Importing Basic Libraries

# Data manipulation
import pandas as pd
import numpy as np

# Options for pandas
pd.options.display.max_columns = None
pd.options.display.max_rows = None

pd.options.display.max_colwidth=-1

# Display all cell outputs
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = 'all'

from IPython import get_ipython
ipython = get_ipython()

# autoreload extension
if 'autoreload' not in ipython.extension_manager.loaded:
    %load_ext autoreload

%autoreload 2

# Visualizations
import plotly.express as px
import matplotlib.pyplot as plt
import seaborn as sns


import re

Analysis/Modeling

Load the Data

zomato_data=pd.read_csv("zomato.csv")
zomato_data.head()