Skip to content

TST: interpolate precision inference #5362

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

Merged
merged 1 commit into from
Oct 28, 2013

Conversation

TomAugspurger
Copy link
Contributor

closes #5174

@jreback
Copy link
Contributor

jreback commented Oct 28, 2013

let it close for now, but open a new issue...and i'll mark it for 0.14

@@ -478,8 +478,8 @@ def test_nan_str_index(self):
def test_interp_quad(self):
_skip_if_no_scipy()
sq = Series([1, 4, np.nan, 16], index=[1, 2, 3, 4])
result = sq.interpolate(method='quadratic')
expected = Series([1, 4, 9, 16], index=[1, 2, 3, 4])
result = sq.interpolate(method='quadratic', infer=False)
Copy link
Contributor

Choose a reason for hiding this comment

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

should be downcast=False, you might need to specify check_less_precise=True on the assert_series_equal to make it work

@TomAugspurger
Copy link
Contributor Author

@jreback passing now.

@jreback
Copy link
Contributor

jreback commented Oct 28, 2013

gr8....going to throw this in....

jreback added a commit that referenced this pull request Oct 28, 2013
@jreback jreback merged commit 1695320 into pandas-dev:master Oct 28, 2013
@jreback
Copy link
Contributor

jreback commented Oct 28, 2013

closes #5368

@TomAugspurger TomAugspurger deleted the interp_dtype_infer branch November 3, 2016 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing interpolation test
2 participants