Exploratory Data Analysis
Get into a detailed exploration of the data.
We'll cover the following...
Exploratory data analysis (EDA) is a key for any data-related project. A better understanding of data helps create practical and effective models.
Price distribution
Let's see how the price is distributed.
Press + to interact
# housing price (target) histogramplt.figure(figsize=(12, 6)) # setting fig size, we can leave this line for defaultplt.hist(x=df['price'], bins=50) # we can change the bin numberplt.xlabel('price ($1000s)') # setting x labelplt.ylabel('count') # setting y label
If we look at the above histogram, most of the prices are in the 20s (x1,000s), and the average price is around ...