text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df_main = pd.read_csv('../input/zomato.csv')

df_loc = df_main['location'].value_counts()[:20]

df_BTM = df_main.loc[df_main['location'] == 'BTM']
df_BTM_REST = df_BTM['rest_type'].value_counts()
fig = plt.figure(figsize=(20, 10))
ax1 = fig.add_subplot(121)
sns.barplot(x=df_BTM_REST, y=df_BTM_REST.index, ax=ax1)
plt.title('Count of restaurant types in BTM')
plt.xlabel('Count')
plt.ylabel('Restaurant Name')