Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Egil committed Oct 11, 2024
1 parent 0dde7f7 commit 0ed8cf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docetl/operations/sample.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sklearn.model_selection
from typing import Any, Dict, List, Optional, Tuple
from .base import BaseOperation

Expand Down Expand Up @@ -49,4 +50,4 @@ def execute(
train_size = samples,
random_state = self.config.get("random_state", None),
stratify = stratify)
return output_data
return output_data, 0

0 comments on commit 0ed8cf8

Please sign in to comment.