tiledbsoma.IntIndexer

class tiledbsoma.IntIndexer(data: ndarray[Any, dtype[int64]] | Array | IntegerArray | Series | IntegerArray | ChunkedArray | List[int], *, context: SOMATileDBContext | None = None)

A re-indexer for unique integer indices.

Lifecycle

Maturing.

__init__(data: ndarray[Any, dtype[int64]] | Array | IntegerArray | Series | IntegerArray | ChunkedArray | List[int], *, context: SOMATileDBContext | None = None)

Initialize re-indexer for provided indices.

Parameters:
  • data – Integer keys used to build the index (hash) table.

  • contextSOMATileDBContext object containing concurrency level.

Lifecycle

Maturing.

Methods

__init__(data, *[, context])

Initialize re-indexer for provided indices.

get_indexer(target)

Compute underlying indices of index for target data.