mediumStudy question · answer published in Python interview questions, so no pointspythonpandastime-series
A 7-day window on irregular dates
Sales are recorded on Jan 1 (1), Jan 3 (2) and Jan 9 (3), with the date as the index. What does rolling("7D").sum() give on Jan 9?
Discussion 0
Join free to post in the discussion.
Related questions
- Counting missing values in pandasData Scientist
- pandas mean with a missing valueData Scientist
- value_counts with normalizeData Scientist
- Changing an item in a tupleData Scientist
- Reading a missing dictionary key safelyData Scientist
- List comprehension with a conditionData Scientist
- is versus == for two listsData Scientist
- Slicing part of a stringData Scientist