tiledbarray package¶
Submodules¶
tiledbarray.TileDBArraySeed module¶
- class tiledbarray.TileDBArraySeed.TileDbArray(path, attribute_name)[source]¶
Bases:
DelayedArraySparse or Dense arrays from TileDB file as a
DelayedArray.This subclass allows developers to implement custom methods for tiledb-backed sparse or dense matrices.
- __init__(path, attribute_name)[source]¶
To construct a
TileDbArrayfrom an existingTileDbArraySeed, usewrap()instead.- Parameters:
path (
Union[str,TileDbArraySeed]) – Path to the TileDB file or aTileDbArraySeedobject.attribute_name (
Optional[str]) – Name of the attribute containing the array.
- class tiledbarray.TileDBArraySeed.TileDbArraySeed(path, attribute_name)[source]¶
Bases:
objectTileDB-backed dataset as a
DelayedArrayarray seed.- __init__(path, attribute_name)[source]¶
- Parameters:
path (
str) – Path or URI to the TileDB file.name – Attribute name inside the TileDB file that contains the array.
- tiledbarray.TileDBArraySeed.chunk_grid_TileDbArraySeed(x)[source]¶
See
chunk_grid().The cost factor is set to 20 to reflect the computational work involved in extracting data from disk.
- tiledbarray.TileDBArraySeed.extract_dense_array_TileDbArraySeed(x, subset)[source]¶
See
extract_dense_array().Subset parameter is passed to tiledb’s multi_index operation.
- Return type:
- tiledbarray.TileDBArraySeed.extract_sparse_array_TileDbArraySeed(x, subset)[source]¶
See
extract_sparse_array().Subset parameter is passed to tiledb’s multi_index operation.
- Return type:
SparseNdarray