-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Timedelta.__new__ #48898
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
BUG: Timedelta.__new__ #48898
Conversation
pandas/_libs/tslibs/timedeltas.pyx
Outdated
if len(kwargs): | ||
# GH#48898 | ||
raise ValueError( | ||
"Cannot pass both a Timedelta input and timedelta keyword arguments." |
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.
Might be nice to show what kwags
were passed
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.
good idea, updated
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.
updated+green
Thanks @jbrockmendel |
* BUG: Timedelta.__new__ * remove assertion * GH refs * put passed kwargs in exception message
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.