Skip to content

Instantly share code, notes, and snippets.

@andreachello
Last active October 6, 2021 02:31
Show Gist options
  • Save andreachello/a7932ed617130c1afb71f0c854403bac to your computer and use it in GitHub Desktop.
Save andreachello/a7932ed617130c1afb71f0c854403bac to your computer and use it in GitHub Desktop.
Supervised Machine Learning: Regression
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
# Import the data using the file path
data = pd.read_csv('Ames_Housing_Sales.csv')
df = data.copy()
print("Number of rows in the data:", data.shape[0])
print("Number of columns in the data:", data.shape[1])
data.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment