build_chunk_plan

function of dascore.utils.chunk_plan source

build_chunk_plan(
    df: DataFrame ,
    overlap = None,
    keep_partial: bool = False,
    snap_coords: bool = True,
    tolerance: float = 1.5,
    conflict: Literal[‘drop’, ‘raise’, ‘keep_first’] = raise,
    group = None,
    missing_dim: Literal[‘raise’, ‘drop’] = raise,
    **kwargs ,
)-> ‘ChunkPlan’

Build a chunk plan from a flat patch relation.

Parameters mirror Spool.chunk (see the chunking formalities spec); exactly one keyword names the dimension to chunk and its length (None/... merges).