mstz commited on
Commit
e376a62
1 Parent(s): d2292af

Update blood.py

Browse files
Files changed (1) hide show
  1. blood.py +1 -1
blood.py CHANGED
@@ -75,7 +75,7 @@ class Blood(datasets.GeneratorBasedBuilder):
75
  data = pandas.read_csv(filepath, header=None)
76
  data.columns = _BASE_FEATURE_NAMES
77
 
78
- data_row["months_since_last_donation"] = data_row["months_since_last_donation"].apply(lambda x: x.values[0] if isinstance(x, pandas.Series) else x)
79
 
80
  data = data.astype({
81
  "months_since_last_donation": "int64",
 
75
  data = pandas.read_csv(filepath, header=None)
76
  data.columns = _BASE_FEATURE_NAMES
77
 
78
+ data["months_since_last_donation"] = data["months_since_last_donation"].apply(lambda x: x.values[0] if isinstance(x, pandas.Series) else x)
79
 
80
  data = data.astype({
81
  "months_since_last_donation": "int64",