window

method of dascore.io.index.catalog.PatchCatalog source

window(
    self ,
    item: <class ‘slice ,
    ids: collections.abc.Sequence[collections.abc.Sequence[int], None] = None,
)-> ’PatchCatalog’

Return a view restricted to a slice of the presented rows.

Forward contiguous slices limit the SQL membership query. A caller splitting the view can supply its already-fetched ordered ids.