mirror of
https://github.com/lancedb/lancedb.git
synced 2026-05-14 10:30:40 +00:00
Hides the two-step `permutation_builder(t).shuffle().execute()` / `Permutation.from_tables(t, perm_tbl)` dance behind a single chainable entry point that ML engineers already expect from HuggingFace and PyTorch: perm = Permutation.from_table(table).shuffle(seed=42) Builder operations (shuffle, filter, split_*) are accumulated lazily and the underlying permutation table is built only once on first read. Subsequent read / transform / format calls are forwarded transparently to the materialized Permutation. Closes lancedb/lancedb#3244