mirror of
https://github.com/Cronocide/fitbit-web-ui-app.git
synced 2025-01-22 11:29:03 +00:00
Update app.py
This commit is contained in:
parent
cf9b66f4ab
commit
d9037a6333
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user