Skip to content

Commit

Permalink
fix(Ausgabestatistik): not a number
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Sep 23, 2024
1 parent 09ec7e5 commit 201595b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def get_data(filters):
df["net_delivered_amount"] = df["base_net_amount"] - df["returned_amount"]

df["average_rate"] = df["net_delivered_amount"] / df["net_delivered_qty"]
df["average_rate"].fillna(0, inplace=True)

return df.values.tolist()

Expand Down

0 comments on commit 201595b

Please sign in to comment.