When I try to bin the h5ad with spateo.preprocessing.aggregate.bin_data:
AttributeError: Module 'scipy' has no attribute 'issparse'
My scipy version: 1.15.1
I think the problem is here:
|
if scipy.issparse(adata.X): |
Should change to scipy.sparse.issparse