def sanitize_anndata(adata):
    'Transform string annotations to categoricals.'
    adata._sanitize()
Transform string annotations to categoricals.
def sanitize_anndata(adata):
    
    adata._sanitize()