mstz commited on
Commit
f9e52da
·
1 Parent(s): 71e5c5e

Update liver.py

Browse files
Files changed (1) hide show
  1. liver.py +1 -1
liver.py CHANGED
@@ -72,7 +72,7 @@ class ILPD(datasets.GeneratorBasedBuilder):
72
 
73
  def _generate_examples(self, filepath: str):
74
  data = pandas.read_csv(filepath)
75
- data.is_male.applymap(bool)
76
 
77
  for row_id, row in data.iterrows():
78
  data_row = dict(row)
 
72
 
73
  def _generate_examples(self, filepath: str):
74
  data = pandas.read_csv(filepath)
75
+ data[["is_male"]].applymap(bool)
76
 
77
  for row_id, row in data.iterrows():
78
  data_row = dict(row)