mstz commited on
Commit
2986c7e
·
1 Parent(s): afe8090

Update mushroom.py

Browse files
Files changed (1) hide show
  1. mushroom.py +1 -1
mushroom.py CHANGED
@@ -319,7 +319,7 @@ class Mushroom(datasets.GeneratorBasedBuilder):
319
  data.loc[:, feature] = data[feature].apply(encoding_function)
320
  data = data.infer_objects()
321
 
322
- return
323
 
324
  def encode(self, feature, value):
325
  if feature in _ENCODING_DICS:
 
319
  data.loc[:, feature] = data[feature].apply(encoding_function)
320
  data = data.infer_objects()
321
 
322
+ return data
323
 
324
  def encode(self, feature, value):
325
  if feature in _ENCODING_DICS: