mstz commited on
Commit
a96d1ed
·
1 Parent(s): b30863b

Upload p53.py

Browse files
Files changed (1) hide show
  1. p53.py +1 -1
p53.py CHANGED
@@ -85,7 +85,7 @@ class P53(datasets.GeneratorBasedBuilder):
85
  encoding_function = partial(self.encode, feature)
86
  data.loc[:, feature] = data[feature].apply(encoding_function)
87
 
88
- for feature in data.colums:
89
  if feature == "class":
90
  break
91
  data[data[feature] == "?", feature] = data[feature].mean()
 
85
  encoding_function = partial(self.encode, feature)
86
  data.loc[:, feature] = data[feature].apply(encoding_function)
87
 
88
+ for feature in data.columns:
89
  if feature == "class":
90
  break
91
  data[data[feature] == "?", feature] = data[feature].mean()