-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Period + np.timedelta64(nat) #47196
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
def test_add_sub_td64_nat(self): | ||
# GH#47196 | ||
per = Period("2022-06-01", "D") | ||
nat = np.timedelta64("NaT", "ns") |
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.
Worth testing/mentioning other freq strings besides ns
?
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.
shouldn't make a difference but harmless if you think its important
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.
Yeah a parameterization of 2 or 3 frequencies would be good just in case.
Thanks @jbrockmendel |
* BUG: Period + np.timedelta64(nat) * GH ref * test reversed subtraction raises * parametrize over unit
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.