Spaces:
Runtime error
Runtime error
Kwasiasomani
commited on
Commit
•
8fea873
1
Parent(s):
2984ac8
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ if menu == 'Prediction target':
|
|
128 |
|
129 |
categoric_column = ['city']
|
130 |
columns = list(input_data.columns)
|
131 |
-
encoded_cat = Encoder.transform(input_data[
|
132 |
|
133 |
# we dropped the categorical encoder column before we concat
|
134 |
train_enc = input_data.drop(['city'],axis = 1)
|
|
|
128 |
|
129 |
categoric_column = ['city']
|
130 |
columns = list(input_data.columns)
|
131 |
+
encoded_cat = Encoder.transform(input_data['city'])
|
132 |
|
133 |
# we dropped the categorical encoder column before we concat
|
134 |
train_enc = input_data.drop(['city'],axis = 1)
|