cagey.turbidity.get_aggregated_stability_windows#
- cagey.turbidity.get_aggregated_stability_windows(turbidity)[source]#
Join adjacent windows with the same stability label.
- Parameters:
turbidity (LazyFrame) – A DataFrame with rows representing 1 minute long windows each labeled according to stability.
- Returns:
A new DataFrame which joins adjacent stability windows if they have the same stability.
- Return type:
LazyFrame