Skip to content

pandas v3.0.1 merge error fix#16

Merged
nsapoval merged 1 commit intomainfrom
pd_update
Feb 26, 2026
Merged

pandas v3.0.1 merge error fix#16
nsapoval merged 1 commit intomainfrom
pd_update

Conversation

@microbemarsh
Copy link
Collaborator

When testing some of the Somatem scripts, we recently installed lemur from bioconda and the recent pandas update to v3.0.1 has created ValueError: You are trying to merge on int64 and str columns for key 'Target_ID' in the EM_step function.

See error here (partial copy from Somatem nextflow.log script):
lemur_pandas_error.txt

To fix this, I made both self.P_rgs_df.reset_index() and self.F keys into strings before merging.

Tested and works as before!

@nsapoval nsapoval merged commit eda2cb5 into main Feb 26, 2026
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants