text_html_output_1.png text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

data_zom = pd.read_csv('/kaggle/input/zomato-restaurants-in-delhi-ncr/DelhiNCR Restaurants.csv')

num_fea = data_zom.select_dtypes(include=['int', 'float']).columns.to_list()
cat_fea = data_zom.select_dtypes(include='object').columns.to_list()

data_zom.rename(columns={'Known_For2': 'Restaurant speciality', 'Known_For22': 'Customer feedback'}, inplace=True)
data_zom.head()