The depreciated method AnnData.concatenate is used when running batch_removal (see here).
This only throws a warning with anndata==0.9 and pandas<2.0, but it crashes when using pandas==2.0.
I downgraded to pandas==1.5.2 and it works fine, but it could be great to use anndata.concat instead of AnnData.concatenate, as it would fix the bug for pandas==2.0!
Hello,
The depreciated method
AnnData.concatenate
is used when runningbatch_removal
(see here).This only throws a warning with
anndata==0.9
andpandas<2.0
, but it crashes when usingpandas==2.0
.I downgraded to
pandas==1.5.2
and it works fine, but it could be great to useanndata.concat
instead ofAnnData.concatenate
, as it would fix the bug forpandas==2.0
!