Skip to content

Commit

Permalink
chore: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chanshing committed Jun 26, 2024
1 parent 568427d commit 7bea1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stepcount/stepcount.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ def impute(data):
freq = to_offset(freq)
data = data.reindex(
pd.date_range(
# TODO: This fails if data.index[0] happens to be midnight
# Note that at exactly 00:00:00, the floor('D') and ceil('D') will be the same
data.index[0].floor('D'),
data.index[-1].ceil('D'),
freq=freq,
Expand Down

0 comments on commit 7bea1af

Please sign in to comment.