Function calculate_max

Source
pub fn calculate_max(
    df: &DataFrame,
    column: &str,
    window: usize,
) -> PolarsResult<Series>
Expand description

Find maximum value over a specified window

§Arguments

  • df - DataFrame containing the data
  • column - Column name to calculate on
  • window - Window size for the calculation

§Returns

Returns a PolarsResult containing the MAX Series