anndata.ImplicitModificationWarning#
- exception anndata.ImplicitModificationWarning[source]#
Raised whenever initializing an object or assigning a property changes the type of a part of a parameter or the value being assigned.
Examples
>>> import pandas as pd >>> adata = AnnData(obs=pd.DataFrame(index=[0, 1, 2])) ImplicitModificationWarning: Transforming to str index.