anndata.h5py.Dataset.write_direct

Dataset.write_direct(source, source_sel=None, dest_sel=None)

Write data directly to HDF5 from a NumPy array.

The source array must be C-contiguous. Selections must be the output of numpy.s_[<args>].

Broadcasting is supported for simple indexing.