You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ctrpv2 drug response contains duplicate entries #455
Casting the experiments / drug response table for the ctrpv2 data set (i.e. dataset.format('experiments', shape='wide')) fails.
Cause:
the internal pivot inside of the format function fails due to multiple entries with the same "index". This can be traced back to the fact that the experiments data table for ctrpv2 contains duplicate rows.
The error is a ValueError("Index contains duplicate entries, cannot reshape"). The code block below will reveal that there are duplicate entries in data.experiments, which is the reason the pivot function raises the ValueError.
As can be seen the number of rows changes from 3,097,840 to 3,094,010 after duplicate removal, i.e. a 3,830 row reduction.
Duplicate rows in the experiment file should not exist in the first place. My best guess is that something went wrong during the build process.
Activity