Closed dibyaaaaax closed 4 years ago
In the function, while merging gsm_df
and srr_df
, pandas adds default suffixes _x
and _y
to the column name experiment_alias
.
Trying to read a column called experiment_alias
in the merged data-frame throws an error because the data-frame now contains two columns called experiment_alias_x
and experiment_alias_y
instead of experiment_alias
.
If I am not wrong about the issue, simply adding one of the suffixes to the column name experiment_alias
would solve this.
Great find! I will look into this over the weekend.
Description
calling srr_to_gsm function in sraweb throws KeyError.
What I Did
Command run:
Traceback: