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
elemshould 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|DataArray|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
chunksfor Zarr-Python.
- f
- Return type: