inoki-giskard commited on
Commit
5b24f7d
1 Parent(s): f08e20f

Drop deprecated `iteritems` in pandas

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -160,7 +160,7 @@ def try_validate(m_id, ppl, dataset_id, dataset_config, dataset_split, column_ma
160
 
161
  def try_submit(m_id, d_id, config, split, column_mappings, local):
162
  label_mapping = {}
163
- for i, label in column_mappings["Model Prediction Labels"].iteritems():
164
  label_mapping.update({str(i): label})
165
 
166
  # TODO: Set column mapping for some dataset such as `amazon_polarity`
 
160
 
161
  def try_submit(m_id, d_id, config, split, column_mappings, local):
162
  label_mapping = {}
163
+ for i, label in column_mappings["Model Prediction Labels"].items():
164
  label_mapping.update({str(i): label})
165
 
166
  # TODO: Set column mapping for some dataset such as `amazon_polarity`