Skip to content

qc_signal_intensity plot merge (line 182) fails on pandas v1.3.0+ #52

@marcmaxson

Description

@marcmaxson

This code failed on circleci running pandas v1.3.2 (also tested and failed on 1.3.0) but works on earlier pandas versions (1.2.x).

               qc = pd.merge(left=medians,
               right=percent_failures_hues,
               left_on=medians.index,
               right_on=percent_failures_hues.index,
               how='inner')

something changed in pandas merge function.
https://pandas.pydata.org/docs/whatsnew/v1.3.0.html -- deprecated

possibly related to

Deprecated using merge(), DataFrame.merge(), and DataFrame.join() on a different number of levels (GH34862)
Deprecated merge() producing duplicated columns through the suffixes keyword and already existing columns (GH22818)

the error produced is:

ValueError: Unable to fill values because RangeIndex cannot contain NA

For now, the quick fix is to disallow pandas version 1.3.0 when installing methylcheck. But resolving the merge issue would be a better long term fix.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions