mstz commited on
Commit
9372495
·
1 Parent(s): f65b472

Upload covertype.py

Browse files
Files changed (1) hide show
  1. covertype.py +2 -0
covertype.py CHANGED
@@ -119,5 +119,7 @@ class Covertype(datasets.GeneratorBasedBuilder):
119
  yield row_id, data_row
120
 
121
  def preprocess(self, data: pandas.DataFrame, config: str = DEFAULT_CONFIG) -> pandas.DataFrame:
 
 
122
  data.loc[:, "cover_type"] = data["cover_type"].apply(lambda x: x - 1)
123
  return data
 
119
  yield row_id, data_row
120
 
121
  def preprocess(self, data: pandas.DataFrame, config: str = DEFAULT_CONFIG) -> pandas.DataFrame:
122
+ print(data.columns)
123
+ print(data.cover_type)
124
  data.loc[:, "cover_type"] = data["cover_type"].apply(lambda x: x - 1)
125
  return data