Skip to content

Commit

Permalink
minor change, kelvin to celsius
Browse files Browse the repository at this point in the history
  • Loading branch information
torave committed Mar 30, 2025
1 parent 40d09e6 commit 6b94d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/my_package/get_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def get_records(df, city_name):
max_temp_mean = df['temp.mean_celsius'].max()
min_temp_mean = df['temp.mean_celsius'].min()

max_temp = df['temp.record_max'].max() - 272.15
min_temp = df['temp.record_min'].min() - 272.15
max_temp = df['temp.record_max_celsius'].max()
min_temp = df['temp.record_min_celsius'].min()

summary_data = {
"Metric": ["Max Temp mean (°C)", "Min Temp Mean (°C)", "Max Temp (°C)", "Min temp (°C)"],
Expand Down

0 comments on commit 6b94d68

Please sign in to comment.