MCPcopy
hub / github.com/ucbepic/docetl / split

Method split

docetl/frame.py:651–671  ·  view source on GitHub ↗
(
        self,
        name: str | None = None,
        *,
        split_key: str | None = None,
        method: str | None = None,
        method_kwargs: dict[str, Any] | None = None,
        model: str | None = None,
        **kwargs: Any,
    )

Source from the content-addressed store, hash-verified

649 # ── structural operations ──────────────────────────────────────
650
651 def split(
652 self,
653 name: str | None = None,
654 *,
655 split_key: str | None = None,
656 method: str | None = None,
657 method_kwargs: dict[str, Any] | None = None,
658 model: str | None = None,
659 **kwargs: Any,
660 ) -> Frame:
661 return self._append_op(
662 "split",
663 name,
664 {
665 "split_key": split_key,
666 "method": method,
667 "method_kwargs": method_kwargs,
668 "model": model,
669 **kwargs,
670 },
671 )
672
673 def gather(
674 self,

Callers 15

load_and_augment_debatesFunction · 0.45
_format_test_resultMethod · 0.45
term_recallFunction · 0.45
jaccard_similarityFunction · 0.45
evaluate_resultsFunction · 0.45
get_jaccard_simFunction · 0.45
evaluate_resultsFunction · 0.45
evaluate_resultsFunction · 0.45
clean_nameFunction · 0.45
__init__Method · 0.45

Calls 1

_append_opMethod · 0.95

Tested by 14

test_end_to_end_pipelineFunction · 0.36
extract_numbersFunction · 0.36
count_wordsFunction · 0.36
test_azure_di_readFunction · 0.36
test_structural_opsMethod · 0.36
test_all_op_typesMethod · 0.36
test_filter_operationFunction · 0.36