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

Update liver.py

Browse files
Files changed (1) hide show
  1. liver.py +1 -0
liver.py CHANGED
@@ -72,6 +72,7 @@ class ILPD(datasets.GeneratorBasedBuilder):
72
 
73
  def _generate_examples(self, filepath: str):
74
  data = pandas.read_csv(filepath)
 
75
 
76
  for row_id, row in data.iterrows():
77
  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)