quadratic_interpolation

kanon.tables.interpolations.quadratic_interpolation(df: DataFrame, key: float | Real) float | Real[source] [edit on github]

Quadratic interpolation, from Lagrange Will prioritize taking 2 values before the keys and 1 after. The pd.DataFrame needs at least 3 rows.