-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pd.Series.interpolate(method='spline') Error #10633
Comments
I believe this was just fixed in master |
That's using the If you want we could provide a more informative error message. |
I would like to work on this bug.How do I start? |
There are some instructions here: https://github.com/pydata/pandas/wiki/Contributing. For this one you'll need to check if the interpolation method is |
Nowadays, there is also a guide in the docs: http://pandas.pydata.org/pandas-docs/stable/contributing.html |
closed by #10880 |
Still fails in version 0.20.3, using the same test code as JianxunLi's. |
Please read the responses. You need to pass an |
This still fails in 0.22.0 after merging https://github.com/pandas-dev/pandas/pull/10880/files using @JianxunLi 's code. I know you have to pass an
|
@jefffriesen do you know of a way to find the required parameters for each interpolation Short of that, we should be raising our exception from the old one. In Python 3 that's try:
m = ...
except Exception as e:
raise ValueError("Invalid method ...") from e I believe |
Although in docs it says
method='spline'
is a choice, but it raises aValueError
.The text was updated successfully, but these errors were encountered: