Python Spline Interpolation How-To

A short walkthrough over SciPy interpolation routines

Lev Maximov
Better Programming
Published in
6 min readAug 15, 2022

--

Image Credit: own work

If you ever interpolated a function in Python, you probably wondered why there are so many ways to do one simple thing. 2D interpolation methods are especially mind-blowing since they use incompatible conventions about x- and y-axis order. Here’s a brief summary of when to use which and what argument follows which…

--

--