incline.naive_trend¶
- incline.naive_trend(df, column_value='value', time_column=None, **kwargs)[source]¶
Estimate the trend by central finite differences.
Does no smoothing, so it inherits the noise directly. Present mostly as the baseline the smoothing methods are meant to beat.
- Parameters:
df (pd.DataFrame) – Time series data.
column_value (str) – Column holding the values.
time_column (str | None) – Numeric time column.
**kwargs (Any) – Uncertainty options; see
estimate().
- Returns:
The input frame plus the estimate columns.
- Return type:
pd.DataFrame