Skip to content

Commit

Permalink
pandas error
Browse files Browse the repository at this point in the history
  • Loading branch information
fishingguy456 committed Jun 23, 2022
1 parent fdeabd1 commit 4745da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgtools/modules/datagraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def parser(self, query_string: str) -> pd.DataFrame:
else:
raise ValueError("Please enter the correct query")
final_df.reset_index(drop=True, inplace=True)
final_df["index_chng"] = final_df.index.astype(str) + "_" + final_df["patient_ID"]
final_df["index_chng"] = final_df.index.astype(str) + "_" + final_df["patient_ID"].astype(str)
final_df.set_index("index_chng", inplace=True)
final_df.rename_axis(None, inplace=True)
#change relative paths to absolute paths
Expand Down

0 comments on commit 4745da2

Please sign in to comment.