anndata.settings.override#
- settings.override(**overrides)[source]#
Provides local override via keyword arguments as a context manager.
- Parameters:
- should_remove_unused_categories bool
Whether or not to remove unused categories with
Categorical
. Default value of True.- should_check_uniqueness bool
Whether or not to check uniqueness of the
obs
indices on__init__
ofAnnData
. Default value of True.
- Yields:
None