mstz commited on
Commit
88028db
·
1 Parent(s): a6dec22

Upload anneal.py

Browse files
Files changed (1) hide show
  1. anneal.py +1 -1
anneal.py CHANGED
@@ -165,7 +165,7 @@ class Anneal(datasets.GeneratorBasedBuilder):
165
  data.loc[:, "marvi"] = data.marvi.apply(lambda x: True if x == "Y" else False)
166
  data.loc[:, "exptl"] = data.exptl.apply(lambda x: True if x == "Y" else False)
167
  data.loc[:, "ferro"] = data.ferro.apply(lambda x: True if x == "Y" else False)
168
- data.loc[:, "corr"] = data[corr].apply(lambda x: True if x == "Y" else False)
169
  data.loc[:, "lustre"] = data.lustre.apply(lambda x: True if x == "Y" else False)
170
  data.loc[:, "jurofm"] = data.jurofm.apply(lambda x: True if x == "Y" else False)
171
  data.loc[:, "s"] = data.s.apply(lambda x: True if x == "Y" else False)
 
165
  data.loc[:, "marvi"] = data.marvi.apply(lambda x: True if x == "Y" else False)
166
  data.loc[:, "exptl"] = data.exptl.apply(lambda x: True if x == "Y" else False)
167
  data.loc[:, "ferro"] = data.ferro.apply(lambda x: True if x == "Y" else False)
168
+ data.loc[:, "corr"] = data["corr"].apply(lambda x: True if x == "Y" else False)
169
  data.loc[:, "lustre"] = data.lustre.apply(lambda x: True if x == "Y" else False)
170
  data.loc[:, "jurofm"] = data.jurofm.apply(lambda x: True if x == "Y" else False)
171
  data.loc[:, "s"] = data.s.apply(lambda x: True if x == "Y" else False)