-
-
Save BinarySpoon/fb8cd81008b1b87016e2ea2d47c8be83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# loading data --> | |
column_names = ['CRIM', 'ZN', 'INDUS', 'CHAS', 'NOX', 'RM', 'AGE', 'DIS', 'RAD', 'TAX', 'PTRATIO', 'B', 'LSTAT', 'MEDV'] | |
boston_data = pd.read_csv('housing.csv', header=None, delimiter=r"\s+", names=column_names) | |
# Defining Target label column --> | |
boston_data.rename({"MEDV":"Target"},axis='columns', inplace=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment