-
Notifications
You must be signed in to change notification settings - Fork 2
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
unsupported operand type error in preprocessing #29
Comments
Hi Lilly, The command ( Best, |
Hi Professor, The pandas version is 2.0.3. Thanks for the explanation. Best regards, |
Downgrading pandas to a version <=1.5.3 may help fix the error. |
Dear professor,
I am getting this TypeError: unsupported operand type(s) for &: 'str' and 'str' error in the function preprocessing in utils.py on the line 205. I tought that genes_shared should be a number but adata_st.var.index are list of strings. Could you help me fix the error or explain what the line of code genes_shared = adata_st.var.index & adata_st_new.var.index is meant to do?
This error only appears in the windows system.
Thanks in advance.
Lilly
The text was updated successfully, but these errors were encountered: