box plot python code

Solutions on MaxInterview for box plot python code by the best coders in the world

showing results for - "box plot python code"
Vincent
21 Jun 2019
1import pandas as pd 
2import matplotlib.pyplot as plt 
3% matplotlib inline
4  
5  
6# load the dataset
7df = pd.read_csv("tips.csv")
8  
9# display 5 rows of dataset
10print(df.head())  
11
12df.boxplot(by ='day', column =['total_bill'], grid = False)