-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Adding tests for IntervalArray.unique() for DateTimeArrays with time zones #46153
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
Conversation
This reverts commit 84b119f.
# GH 46128 | ||
dti1 = date_range("2016-01-01", periods=3) | ||
ii1 = IntervalIndex.from_breaks(dti1) | ||
ser1 = pd.Series(ii1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you either put this in the series tests or test the array method directly. ideally do a tm.assert_foo_equal below, should be easy bc .unique matches self in these cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, moved to series tests in next commit.
thanks @Dr-Irv |
Ref suggestion here; #46128