Datasets:
Upload bank.py
Browse files
bank.py
CHANGED
@@ -114,7 +114,10 @@ class Bank(datasets.GeneratorBasedBuilder):
|
|
114 |
|
115 |
def _generate_examples(self, filepath: str):
|
116 |
if self.config.name == "encoding":
|
117 |
-
|
|
|
|
|
|
|
118 |
|
119 |
data = pandas.read_csv(filepath, sep=";")
|
120 |
data = self.preprocess(data, config=self.config.name)
|
|
|
114 |
|
115 |
def _generate_examples(self, filepath: str):
|
116 |
if self.config.name == "encoding":
|
117 |
+
res = self.encoding_dictionaries()
|
118 |
+
print("res")
|
119 |
+
print(res)
|
120 |
+
return res
|
121 |
|
122 |
data = pandas.read_csv(filepath, sep=";")
|
123 |
data = self.preprocess(data, config=self.config.name)
|