-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
MAINT: port numpy#13188 for np_datetime simplification #26516
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
Bring numpy changes about emulating the behavior of python's divmod to pandas.
Codecov Report
@@ Coverage Diff @@
## master #26516 +/- ##
==========================================
- Coverage 91.76% 91.75% -0.01%
==========================================
Files 174 174
Lines 50679 50679
==========================================
- Hits 46504 46499 -5
- Misses 4175 4180 +5
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #26516 +/- ##
==========================================
- Coverage 91.76% 91.74% -0.02%
==========================================
Files 174 174
Lines 50679 50665 -14
==========================================
- Hits 46504 46485 -19
- Misses 4175 4180 +5
Continue to review full report at Codecov.
|
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.
Nice!
@jbrockmendel : If you want to have a look before merging
* | ||
* Note that GCC is smart enough at -O2 to eliminate the `if(*d < 0)` branch | ||
* for subsequent calls to this command - it is able to deduce that `*d >= 0`. | ||
*/ |
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.
Can you add to this comment pointing back to the numpy PR.
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 added it. Thanks! 😄
Generally looks good. Were there any parts that weren't copy/paste? |
All changes are copied from numpy PR. I changed a few line style since those lines over 80 characters. |
lgtm. @jbrockmendel merge when ready. |
Thanks @xcz011 |
Bring numpy changes about emulating the behavior of python's divmod to
pandas.
git diff upstream/master -u -- "*.py" | flake8 --diff