harpomaxx commited on
Commit
7eaf0d5
1 Parent(s): 9e80cce

Update dga-detector.py

Browse files
Files changed (1) hide show
  1. 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, {