Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

ValueError: You are trying to merge on float64 and object columns. #125

Closed
cartal opened this issue Oct 14, 2019 · 10 comments
Closed

ValueError: You are trying to merge on float64 and object columns. #125

cartal opened this issue Oct 14, 2019 · 10 comments

Comments

@cartal
Copy link

cartal commented Oct 14, 2019

Hi, I'm also getting:

ValueError: You are trying to merge on float64 and object columns. If you wish to proceed you should use pd.concat

I'm using cellphonedb==2.1.1 and I get the same error after followed your instructions as above; any ideas?

Originally posted by @cartal in #21 (comment)

@mvento
Copy link
Collaborator

mvento commented Oct 18, 2019

Hi @cartal,

Thanks for using CellPhoneDB. Can you send us the input files?

Best

@cartal
Copy link
Author

cartal commented Oct 20, 2019

Hi @mvento ,
I just sent you an email with access to the toy example.

@cartal cartal changed the title Hi, I'm also getting: ValueError: You are trying to merge on float64 and object columns. Oct 21, 2019
@ltongyu
Copy link

ltongyu commented Feb 13, 2020

Hi, I wonder if this problem has been solved. I got the same error.

@mvento
Copy link
Collaborator

mvento commented Feb 17, 2020

Hi @cartal,

The problem is in your Counts file. It have Gene column but the values are always 0.

Please, set this data and retry.

Best

@mvento
Copy link
Collaborator

mvento commented Feb 17, 2020

Hi @ltongyu,

Can you check if your Gene column data in Counts file is correct?

Best

@ltongyu
Copy link

ltongyu commented Feb 17, 2020

Hi @ltongyu,

Can you check if your Gene column data in Counts file is correct?

Best

Yes, I solved the problem by correcting gene column. Thank you.

@mvento mvento closed this as completed Feb 17, 2020
@XiaoyuLi-smu
Copy link

I had the same error. I was using the example data and the version is 2.1.2. The only problem might be i was using my own interaction database but it was build without error.

@DongqingSun96
Copy link

Hi @XiaoyuLi-smu, have you solved this problem?

@XiaoyuLi-smu
Copy link

XiaoyuLi-smu commented Aug 9, 2020 via email

@jmrussell
Copy link

I am still getting this error on the latest cpdb release with a counts value has many non-zero values

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

No branches or pull requests

6 participants