This is documentation for an old release of SciPy (version 0.8.). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.interpolate.lagrange
-
scipy.interpolate.lagrange(x, w)
Return the Lagrange interpolating polynomial of the data-points (x,w)
Warning: This implementation is numerically unstable; do not expect to
be able to use more than about 20 points even if they are chosen optimally.