Kwasiasomani commited on
Commit
25a2395
1 Parent(s): 8fea873

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -126,9 +126,9 @@ if menu == 'Prediction target':
126
 
127
  # defining categories and numeric columns
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)
 
126
 
127
  # defining categories and numeric columns
128
 
129
+ col = ['city']
130
  columns = list(input_data.columns)
131
+ encoded_cat = Encoder.transform(input_data[col])
132
 
133
  # we dropped the categorical encoder column before we concat
134
  train_enc = input_data.drop(['city'],axis = 1)