Solve missing interpolation method (cubicspline) by khyox · Pull Request #33670 · pandas-dev/pandas (original) (raw)
By commit 8bb2cc1 scipy.interpolate.CubicSpline method is
referenced in the pandas documentation (see pandas/core/generic.py)
but it is not wrapped by any interpolation method. This PR solves
this by adding the corresponding wrapper. SciPy's CubicSpline
is a cubic spline data interpolator that allows explicit control
of the boundary conditions for the interval.
Changes to be committed:
modified: pandas/core/missing.py
modified: pandas/tests/series/methods/test_interpolate.py
- closes #xxxx (no issue opened but PR DOC: update the pandas.Series/DataFrame.interpolate docstring #20270 commented instead)
- tests added / passed
- passes
black pandas
- passes
git diff upstream/master -u -- "*.py" | flake8 --diff
- whatsnew entry