print("Hello Word")
import pandas as pd
import numpy as np
import seaborn as sns
# Addition of two numbers
2 + 5
def add_number(a, b):
return a + b
add_number(10,20)
a = [4, 5, 9, 3]
a
a[2]
a[1:3]
a[-2]
nb = pd.read_csv("listings.csv")
nb.head()
nb['name'].head()
nb.columns
nb[['name', 'host_name']].head()
# calculate using two coloums
nb['min_rev'] = nb['minimum_nights'] * nb['price']
nb.head()
round(nb['min_rev'].mean(), 2)