mstz commited on
Commit
828d957
1 Parent(s): 15c8ef7

Update isolet.py

Browse files
Files changed (1) hide show
  1. isolet.py +3 -1
isolet.py CHANGED
@@ -63,10 +63,12 @@ class Isolet(datasets.GeneratorBasedBuilder):
63
  ]
64
 
65
  def _generate_examples(self, filepath: str):
66
- data = pandas.read_csv(filepath + "/isolet1+2+3+4.data", header=None)
67
  print("\n\n\n processing \n\n\n")
68
  data = self.preprocess(data, config=self.config.name)
69
  print("\n\n\n processed \n\n\n")
 
 
70
 
71
  for row_id, row in data.iterrows():
72
  data_row = dict(row)
 
63
  ]
64
 
65
  def _generate_examples(self, filepath: str):
66
+ data = pandas.read_csv(filepath + "/isolet1+2+3+4.data", header=None).infer_objects()
67
  print("\n\n\n processing \n\n\n")
68
  data = self.preprocess(data, config=self.config.name)
69
  print("\n\n\n processed \n\n\n")
70
+ print("data.dtypes")
71
+ print(data.dtypes)
72
 
73
  for row_id, row in data.iterrows():
74
  data_row = dict(row)