incline.select_trend_method

incline.select_trend_method(df, column_value='value', time_column=None, criteria='auto')[source]

Recommend a smoother for a series.

Parameters:
  • df (pd.DataFrame) – Time series data.

  • column_value (str) – Column holding the values.

  • time_column (str | None) – Numeric time column.

  • criteria (str) – 'auto', 'robust', 'smooth', 'changepoints', or 'exact' to require a method with exact standard errors.

Returns:

A registered smoother name.

Raises:

ValueError – If the criteria is unknown.

Return type:

str