Skip to content

Conversation

@hkennyv
Copy link
Contributor

@hkennyv hkennyv commented Apr 25, 2020

Wasn't sure if this warranted a whatsnew entry since its mostly code cleanup

hkennyv added 6 commits April 23, 2020 00:28
The TypeError was in __call__ due to using wrong kwarg `der` instead of `nu`.
Previous logic checked for `der` as a list or int. The new logic lets
`scipy.interpolate.Akima1DInterpolator` raise a TypeError if `der` is
the wrong type. Updated the docstring appropriately
@jreback jreback added Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate labels Apr 25, 2020
@jreback jreback added this to the 1.1 milestone Apr 25, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. can you add a whatsnew note. put in bug fixes in 1.1 missing section, just say that clarified documentation on interpolate with method =akima the der parmater must be a scalar or None

@hkennyv
Copy link
Contributor Author

hkennyv commented Apr 26, 2020

thanks @jreback, how's that look?

@jreback jreback merged commit dc57f28 into pandas-dev:master Apr 26, 2020
@jreback
Copy link
Contributor

jreback commented Apr 26, 2020

thanks @hkennyv

rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: core.missing._akima_interpolate will raise AttributeError

2 participants