mstz commited on
Commit
320f0cc
1 Parent(s): cf1f751

Update yeast.py

Browse files
Files changed (1) hide show
  1. yeast.py +1 -0
yeast.py CHANGED
@@ -220,6 +220,7 @@ class Yeast(datasets.GeneratorBasedBuilder):
220
  for feature in _ENCODING_DICS:
221
  encoding_function = partial(self.encode, feature)
222
  data.loc[:, feature] = data[feature].apply(encoding_function)
 
223
  data["erl"] = data["erl"].apply(lambda x: True if x == 1 else False)
224
  data = data.astype({"erl": "bool"})
225
 
 
220
  for feature in _ENCODING_DICS:
221
  encoding_function = partial(self.encode, feature)
222
  data.loc[:, feature] = data[feature].apply(encoding_function)
223
+
224
  data["erl"] = data["erl"].apply(lambda x: True if x == 1 else False)
225
  data = data.astype({"erl": "bool"})
226