-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Adds missing raises for numpy.timedelta64[M/Y] in pandas.Timedelta #53421
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
|
Looking at the 3 failed tests:
My assumption is that the correct approach would be to alter tests to now expect a value error to be thrown but I'm a little unsure if the is the right mentality. I'm a little unsure of the best approach though, any guidance would appreciated. |
Went ahead and updated the test to reflect the newly added raise condition. |
Finally ready... thanks for the patience @mroeschke |
Anything else needed here? |
Thanks @mcgeestocks |
…ta (pandas-dev#53421) * adds raise for numpy Y and M conversion in Timedelta * fix failing tests * update raise lang * alternative approach * add missing periods * switch to cimport * add cython directive * switch to inline cython directive * remove unsupported td operation * adds whatnew update * remove whitespace * adds test
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.