Instructions
Objective
Write a program to implement box plot in python.
Requirements and Specifications
Source Code
import pandas as pd
import matplotlib.pyplot as plt
apt = pd.read_csv("https://raw.githubusercontent.com/noghte/datasets/main/apartments.csv")
apt.head()
apt.shape
apt.info()
price_list = apt["resale_price"][0:100]
price_list
price_list.describe()
fig = plt.figure(figsize =(10, 7))
plt.boxplot(price_list)
plt.show()
### the box plot indicates that the ranges of the resale price from 232000 to 832000 and have mean of 368492.76