print('Hello World!!')
import pandas as pd
import numpy as np
import seaborn as sea
# Add two numbers
2 + 2
def add_two_numbers(a,b):
c = a+b
return c
print(add_two_numbers(1,2))
a = ['abhishek', 'Rajat', 'samarth']
a[0:2]
a[-1]
nb = pd.read_csv("listings.csv")
nb.head()
nb.tail(10)
nb['name'].head()
nb.columns
nb[['id','name']].head()
#calculate
nb['min_rev'] = nb['minimum_nights'] * nb['price']
nb.head()
round(nb['min_rev'].mean(),2)