anndata.experimental.Write#
- protocol anndata.experimental.Write[source]#
-
Classes that implement this protocol must have the following methods / attributes:
- __call__(f, k, v, *, dataset_kwargs)[source]#
Low-level writing function for an element.
- Parameters:
- f
Array
|Dataset
|Group
|Group
The store to which
elem
should be written.- k
str
The key to read in from the group.
- v
TypeVar
(RWAble_contra
, bound=DataFrame
|number
|str
|ndarray
|MaskedArray
|csr_matrix
|csc_matrix
|csr_array
|csc_array
|Dataset
|Array
|ZappyArray
|CSRDataset
|CSCDataset
|Array
|ndarray
|spmatrix
|Array
|dict
[str
, AxisStorable] |list
[AxisStorable] |AnnData
|Categorical
|ExtensionArray
, contravariant=True) The element to write out.
- dataset_kwargs
Mapping
[str
,Any
] Keyword arguments to be passed to a library-level io function, like
chunks
for Zarr-Python.
- f
- Return type: