quadratic_interpolation
- kanon.tables.interpolations.quadratic_interpolation(df: pandas.core.frame.DataFrame, key: Union[float, numbers.Real]) Union[float, numbers.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.