text_html_output_1.png
import pandas as pd

df = pd.read_csv('../input/hotel-booking/hotel_booking.csv')

df.shape

df = df.drop('company', axis=1)

ind = df['adr'].idxmax()
ind

name = df.iloc[ind]['name']
amount = df.iloc[ind]['adr']

df['last name'] = df['name'].apply(lambda x: x[x.index(' ') + 1:])

idx = (df['children'] + df['babies']).idxmax()
maximum = (df['children'] + df['babies']).iloc[idx]

df['phone-number'].apply(lambda x: x[:3]).value_counts()[:5]