-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
CLN: post-post numpy bump #24365
CLN: post-post numpy bump #24365
Conversation
Codecov Report
@@ Coverage Diff @@
## master #24365 +/- ##
===========================================
- Coverage 92.29% 42.98% -49.31%
===========================================
Files 162 162
Lines 51832 51832
===========================================
- Hits 47839 22281 -25558
- Misses 3993 29551 +25558
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #24365 +/- ##
==========================================
- Coverage 92.29% 92.29% -0.01%
==========================================
Files 162 162
Lines 51832 51832
==========================================
- Hits 47839 47838 -1
- Misses 3993 3994 +1
Continue to review full report at Codecov.
|
@@ -161,9 +161,6 @@ cpdef convert_to_timedelta64(object ts, object unit): | |||
- None/NaT | |||
|
|||
Return an ns based int64 | |||
|
|||
# kludgy here until we have a timedelta scalar | |||
# handle the numpy < 1.7 case |
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.
Do you know what section of code this was referring to (I don't immediately see one)?
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.
@TomAugspurger
I don't see something particularly kludge-y either. Also, there is a timedelta scalar nowadays. It just seems like a severely outdated comment.
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.
Just one tiny question, though this should be good to go.
lgtm. ex @TomAugspurger question |
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.
@TomAugspurger @jreback
Responded in comment
@@ -161,9 +161,6 @@ cpdef convert_to_timedelta64(object ts, object unit): | |||
- None/NaT | |||
|
|||
Return an ns based int64 | |||
|
|||
# kludgy here until we have a timedelta scalar | |||
# handle the numpy < 1.7 case |
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.
@TomAugspurger
I don't see something particularly kludge-y either. Also, there is a timedelta scalar nowadays. It just seems like a severely outdated comment.
Agreed, thanks. |
* CLN: post-post numpy bumpy * Lint
* CLN: post-post numpy bumpy * Lint
Even after #23062 and #23796, I still keep finding occurrences of old numpy references in the code. Gotta catch 'em all...