diff --git a/src/stepcount/stepcount.py b/src/stepcount/stepcount.py index a967801..8169bde 100644 --- a/src/stepcount/stepcount.py +++ b/src/stepcount/stepcount.py @@ -269,7 +269,7 @@ def _mean(x, min_wear=None, dt=None): # crude (unadjusted) estimates ignore NAs minutely = v.resample('T').agg(_mean).rename('ENMO(mg)') hourly = v.resample('H').agg(_mean).rename('ENMO(mg)') - daily = v.resample('D').agg(_mean).rename('ENMO(mg') + daily = v.resample('D').agg(_mean).rename('ENMO(mg)') avg = daily.agg(_mean) return {