mstz commited on
Commit
2c3b526
1 Parent(s): ff8eb24

Update isolet.py

Browse files
Files changed (1) hide show
  1. isolet.py +1 -1
isolet.py CHANGED
@@ -76,7 +76,7 @@ class Isolet(datasets.GeneratorBasedBuilder):
76
 
77
  def preprocess(self, data: pandas.DataFrame, config: str = DEFAULT_CONFIG) -> pandas.DataFrame:
78
  data.columns = [str(i) for i in range(618)]
79
- data.iloc[:, "617"] = data["617"].apply(int)
80
  data = data.astype({"617": "int8"})
81
 
82
  return data
 
76
 
77
  def preprocess(self, data: pandas.DataFrame, config: str = DEFAULT_CONFIG) -> pandas.DataFrame:
78
  data.columns = [str(i) for i in range(618)]
79
+ data.loc[:, "617"] = data["617"].apply(int)
80
  data = data.astype({"617": "int8"})
81
 
82
  return data