Skip to content

Conversation

jbrockmendel
Copy link
Member

@@ -78,6 +78,40 @@ def interp_methods_ind(request):


class TestSeriesInterpolateData:
def test_interpolate_datetimelike_values(self):
Copy link
Member

Choose a reason for hiding this comment

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

Do we have DataFrame.interpolate tests with NaT?

Copy link
Member Author

Choose a reason for hiding this comment

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

i dont think so. before long ill do a pass to parametrize all of these over frame_or_series

Copy link
Member Author

Choose a reason for hiding this comment

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

good suggestion, turns out it was broken with DataFrame. fixed.

@mroeschke mroeschke added the Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate label Jan 30, 2023
@mroeschke mroeschke added this to the 2.0 milestone Feb 3, 2023
@mroeschke mroeschke merged commit 92e2379 into pandas-dev:main Feb 3, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: interpolation of datetime values (NaT)
2 participants