Question: The csv file house _ price.csv contains the basic information about houses. Read the data from the csv file house _ price.csv ,

The csv file "house_price.csv" contains the basic information about houses.
Read the data from the csv file "house_price.csv", and create a dataframe object.
Plot the histogram chart and the density chart of the distribution of bedrooms (i.e. the column "bedrooms").
Plot the scatter chart of the relationship between the column "sqft_living" and the column "price".
Plot the bar chart of the average selling price (i.e. the column "price") of houses in different cities (i.e. the column "city") and also compute the standard deviation.
Plot the box chart of the selling price (i.e. the column "price") of houses in different cities (i.e. the column "city").
In [2]:
import pandas as pd
import matplotlib. pyplot as plt
import seaborn as sns
In [9]:
#1 Read the data
#file ruth
path=' house_price. csv'
In [14]
df = pd. read_csv (path)
df
Out [14] :
\table[[,date,price,bedrooms,bathrooms,sqft_living,sqft_lot,floors,waterfront,view,condition,sqft_above,sqft_basement,yr_built,yr_renovated],[0,\table[[2014-
 The csv file "house_price.csv" contains the basic information about houses. Read

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!