Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import pandas as pd
|
|
5 |
from sklearn.model_selection import train_test_split
|
6 |
|
7 |
# loading the data
|
8 |
-
df = pd.read_csv('
|
9 |
df.rename(columns = {'Avg. Area Income':'Income','Avg. Area House Age':'House_age', 'Avg. Area Number of Rooms':'No_rooms',
|
10 |
'Avg. Area Number of Bedrooms':'No_bedrooms', 'Area Population':'population'},inplace = True)
|
11 |
|
|
|
5 |
from sklearn.model_selection import train_test_split
|
6 |
|
7 |
# loading the data
|
8 |
+
df = pd.read_csv('housing.csv')
|
9 |
df.rename(columns = {'Avg. Area Income':'Income','Avg. Area House Age':'House_age', 'Avg. Area Number of Rooms':'No_rooms',
|
10 |
'Avg. Area Number of Bedrooms':'No_bedrooms', 'Area Population':'population'},inplace = True)
|
11 |
|