FutureWarning: is_categorical is deprecated and will be removed in a future version. Use is_categorical_dtype instead if not is_categorical(df_full[k]): #33
Hello. I am running scGen on my project in Jupyter notebook then when I run the prediction part, I got a "FutureWarning". I wonder what this means and does it affect my scGen run and how to resolve it if it does? Thank you!
/home/levinbioinformatics/anaconda3/envs/scgen_test/lib/python3.7/site-packages/anndata/_core/anndata.py:1094: FutureWarning: is_categorical is deprecated and will be removed in a future version. Use is_categorical_dtype instead
if not is_categorical(df_full[k]):
Hello. I am running scGen on my project in Jupyter notebook then when I run the prediction part, I got a "FutureWarning". I wonder what this means and does it affect my scGen run and how to resolve it if it does? Thank you!
SCRIPT:
unperturbed_cd4t = train[((train.obs["cell_type"] == "CD4T") & (train.obs["condition"] == "control"))]
PROMPT: