Datasets:
Upload p53.py
Browse files
p53.py
CHANGED
|
@@ -69,7 +69,7 @@ class P53(datasets.GeneratorBasedBuilder):
|
|
| 69 |
]
|
| 70 |
|
| 71 |
def _generate_examples(self, filepath: str):
|
| 72 |
-
data = pandas.read_csv(filepath, header=None)
|
| 73 |
data = self.preprocess(data)
|
| 74 |
|
| 75 |
for row_id, row in data.iterrows():
|
|
|
|
| 69 |
]
|
| 70 |
|
| 71 |
def _generate_examples(self, filepath: str):
|
| 72 |
+
data = pandas.read_csv(filepath, header=None).head(200)
|
| 73 |
data = self.preprocess(data)
|
| 74 |
|
| 75 |
for row_id, row in data.iterrows():
|