Skip to content

Commit

Permalink
🐛 Fix rate (divide, not multiply)
Browse files Browse the repository at this point in the history
  • Loading branch information
i-be-snek committed Nov 18, 2024
1 parent c44eb06 commit d7b20a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Database/scr/normalize_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ def convert_to_USD(self, currency: str, amount: float, year: int, month: int) ->
.Rate.tolist()[0]
)

return amount * rate
return amount / rate

0 comments on commit d7b20a6

Please sign in to comment.