Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Tubo/radscheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
Tubo committed Mar 8, 2024
2 parents 584dd03 + d721ef0 commit 494130d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radscheduler/core/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def retrieve_workload_breakdown(start: date = None, end: date = None):
workload = df_shifts.groupby(["registrar", "type_"]).size().unstack().fillna(0)
workload["FATIGUE"] = (
workload["LONG"] * 1 + workload["NIGHT"] * 7 + workload["WEEKEND"] * 4 + workload["WKD NIGHT"] * 5
)
) / 10
workload = workload.merge(df_registrars, left_index=True, right_on="id", how="left")
workload.drop(["id"], axis=1, inplace=True)
return workload
Expand Down

0 comments on commit 494130d

Please sign in to comment.