anndata_rs.AnnData.shape

AnnData.shape

Shape of data matrix (n_obs, n_vars).

Return type:

tuple[int, int]