Rapids_singlecell: A GPU-accelerated tool for scRNA analysis. Offers seamless scverse compatibility for efficient single-cell data processing and analysis.
Describe the bug
When running the latest version with Pandas 2.2.1 (Python 3.11), a call to highly_variable_genes will raise a FutureWarning:
/.../miniforge3/envs/rapids_singlecell/lib/python3.11/site-packages/rapids_singlecell/preprocessing/_hvg.py:311: FutureWarning: The default of observed=False is deprecated and will be changed to True in a future version of pandas. Pass observed=False to retain current behavior or observed=True to adopt the future default and silence this warning.
disp_grouped = df.groupby("mean_bin")["dispersions"]
I believe it just needs an explicitly specified param to resolve this.
Steps/Code to reproduce bug
The method was called on an anndata without args, e.g.,
rsc.pp.highly_variable_genes(adata)
Expected behavior
A clear and concise description of what you expected to happen.
Environment details (please complete the following information):
Describe the bug When running the latest version with Pandas 2.2.1 (Python 3.11), a call to
highly_variable_genes
will raise a FutureWarning:I believe it just needs an explicitly specified param to resolve this.
Steps/Code to reproduce bug
The method was called on an anndata without args, e.g.,
Expected behavior A clear and concise description of what you expected to happen.
Environment details (please complete the following information):