import pandas as pd
import matplotlib as plt
df=pd.read_csv('sample.csv')
# Q1
df.trip_distance.mean()
df.trip_distance.std()
# Q2
df.trip_distance.plot(kind='box')
# Q3
df.trip_distance.plot(kind='hist')
# Q4
df.plot(x='RateCodeID', y='fare_amount', kind='bar')
# Q5
df.trip_distance.plot(x='trip_distance', y='fare_amount', kind='scatter')