From b85d15fc6d5278c2a30760d5acda728660a97a90 Mon Sep 17 00:00:00 2001 From: Shing Chan Date: Fri, 3 May 2024 21:21:15 +0100 Subject: [PATCH] change impute_days default median -> mean --- src/stepcount/stepcount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stepcount/stepcount.py b/src/stepcount/stepcount.py index b8c8a6b..180d72a 100644 --- a/src/stepcount/stepcount.py +++ b/src/stepcount/stepcount.py @@ -619,7 +619,7 @@ def impute(data): return data -def impute_days(x, method='median'): +def impute_days(x, method='mean'): if x.isna().all(): return x