In the next section, we will look at how to solve univariate interpolation.
Univariate interpolation
Getting ready
We will need to follow some instructions and install the prerequisites.
How to do it…
The following table summarizes the different univariate interpolation modes coded in SciPy, together with the processes that we may use to resolve them:
Object-oriented implementation | Procedural implementation | Special parameters and functions |
Nearest-neighbors | interp1d(,kind='nearest') |
|
Lagrange polynomial | BarycentricInterpolator | barycentric_interpolate... |