anndata.AnnData.obs_keys#

AnnData.obs_keys()[source]#

List keys of observation annotation obs.

Deprecated: The method obs_keys is deprecated and will be removed in the future. Use obs instead of obs_keys. (e.g. `k in adata.obs` or `str(adata.obs.columns.tolist())`)

Deprecated since version 0.12.3: Use obs instead of obs_keys. (e.g. k in adata.obs or str(adata.obs.columns.tolist()))

Return type:

list[str]