Skip to content

Commit

Permalink
store column name after aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
mwdchang committed Jul 18, 2024
1 parent c1b18fa commit 4eaf097
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/utils/tds.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def get_result_summary(data_result):
)
df2 = df2.drop(columns=["sample_id", "timepoint_unknown"])
df2.columns = ["_".join(i) for i in df2.columns]
df2 = df2.rename(columns={"timepoint_id_": "timepoint_id"})
return df2
# If the format of the data_result does not match expected column names ect just throw error
except:
Expand Down

0 comments on commit 4eaf097

Please sign in to comment.