Update app.py

This commit is contained in:
Arpan Ghosh 2023-07-26 00:00:00 -04:00
parent cf9b66f4ab
commit d9037a6333

View File

@ -136,8 +136,7 @@ def update_output(n_clicks, value, start_date, end_date):
for entry in response_spo2:
spo2_list += [None]*(dates_str_list.index(entry["dateTime"])-len(spo2_list))
spo2_list.append(entry["value"]["avg"])
print(len(dates_list),len(rhr_list),len(steps_list),len(fat_burn_minutes_list),len(cardio_minutes_list),len(peak_minutes_list),len(weight_list),len(spo2_list))
spo2_list += [None]*(len(dates_str_list)-len(spo2_list))
df_merged = pd.DataFrame({
"Date": dates_list,