+1 (315) 557-6473 

Create a Program to Implement Box Plot in Python Assignment Solution.


Instructions

Objective
Write a program to implement box plot in python.

Requirements and Specifications

program to implement box plot in python
    program to implement box plot in python 1

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