Update fitbit_parse_heartrate.py

pull/95/head
Meng Li 2020-06-04 18:07:15 -04:00
parent b14ddcdea6
commit ff1bc33c34
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ def parseHeartrateIntradayData(records_intraday, dataset, device_id, curr_date,
def parseHeartrateData(heartrate_data, HOUR2EPOCH):
if heartrate_data.empty:
return pd.DataFrame(columns=HR_COLUMNS)
return pd.DataFrame(columns=HR_SUMMARY_COLUMNS), pd.DataFrame(columns=HR_INTRADAY_COLUMNS)
device_id = heartrate_data["device_id"].iloc[0]
records_summary, records_intraday = [], []