Commit 6978a10c authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Remove duplicate rows.

parent f51d2b7d
Pipeline #6995 passed with stage
in 1 minute and 29 seconds
......@@ -192,6 +192,9 @@ def main():
# Calculate Date Shift
shifted_df = calculate_shift(fix_treatment, date_shift)
# Remove duplicate rows
shifted_df.drop_duplicates(["mrn","site_general", "start_date"], keep='first', inplace=True)
# Write out radiation table
shifted_df.to_csv(radiation_table, index=False)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment