Update dga-detector.py
Browse files- dga-detector.py +1 -1
dga-detector.py
CHANGED
@@ -40,7 +40,7 @@ class MyDataset(datasets.GeneratorBasedBuilder):
|
|
40 |
dataset = pd.read_csv(filepath)
|
41 |
|
42 |
# You can filter or split your dataset based on the 'split' argument if necessary
|
43 |
-
|
44 |
# Generate examples
|
45 |
for index, row in dataset.iterrows():
|
46 |
yield index, {
|
|
|
40 |
dataset = pd.read_csv(filepath)
|
41 |
|
42 |
# You can filter or split your dataset based on the 'split' argument if necessary
|
43 |
+
dataset = dataset[dataset["split"] == split]
|
44 |
# Generate examples
|
45 |
for index, row in dataset.iterrows():
|
46 |
yield index, {
|