Kwasiasomani commited on
Commit
8fea873
1 Parent(s): 2984ac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[categoric_column])
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)