-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: assorted cleanups, annotations, de-privatizing #33497
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
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 with these changes
@@ -313,7 +313,9 @@ def test_subtraction_ops(self): | |||
tm.assert_index_equal(result, expected, check_names=False) | |||
|
|||
result = dti - td | |||
expected = DatetimeIndex(["20121231", "20130101", "20130102"], name="bar") | |||
expected = DatetimeIndex( | |||
["20121231", "20130101", "20130102"], freq="D", name="bar" |
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.
Is this a bugfix with the freq
? Worth a whatsnew?
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.
No. ATM assert_index_equal doesnt check for matching freq
. Moving towards adding that check, but ATM it breaks about 500 tests. Honestly not sure why this edit made it into this branch.
* de-privatize * CLN: assorted cleanups, annotations
* de-privatize * CLN: assorted cleanups, annotations
No description provided.