Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update check for categorical dtype #598

Open
MUCDK opened this issue Aug 31, 2023 · 2 comments
Open

update check for categorical dtype #598

MUCDK opened this issue Aug 31, 2023 · 2 comments
Assignees

Comments

@MUCDK
Copy link
Collaborator

MUCDK commented Aug 31, 2023

I got the following future warning:

  if not (is_categorical_dtype(col) and is_numeric_dtype(col.cat.categories)):```

We should update the code accordingly.
@ArinaDanilina
Copy link
Collaborator

FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead

@ArinaDanilina
Copy link
Collaborator

now \Lib\site-packages\anndata_core\anndata.py:522: FutureWarning: The dtype argument is deprecated and will be removed in late 2024.
gets triggered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants