fix(post-processing): handle missing values in cumulative operator (#26429)

This commit is contained in:
Ville Brofeldt
2024-01-09 03:56:19 -08:00
committed by GitHub
parent efdeb9df05
commit ff025b78f3
3 changed files with 20 additions and 0 deletions

View File

@@ -130,6 +130,11 @@ timeseries_df = DataFrame(
data={"label": ["x", "y", "z", "q"], "y": [1.0, 2.0, 3.0, 4.0]},
)
timeseries_with_gap_df = DataFrame(
index=to_datetime(["2019-01-01", "2019-01-02", "2019-01-05", "2019-01-07"]),
data={"label": ["x", "y", "z", "q"], "y": [1.0, 2.0, None, 4.0]},
)
timeseries_df2 = DataFrame(
index=to_datetime(["2019-01-01", "2019-01-02", "2019-01-05", "2019-01-07"]),
data={