-
Notifications
You must be signed in to change notification settings - Fork 915
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
Implement Series.datetime.floor #9571
Implement Series.datetime.floor #9571
Conversation
… into series.dt.floor
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #9571 +/- ##
===============================================
Coverage ? 10.60%
===============================================
Files ? 118
Lines ? 20082
Branches ? 0
===============================================
Hits ? 2130
Misses ? 17952
Partials ? 0 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.
I think this looks fine. I have a few small requests that I'll trust you to address before finalizing. There is a ton of boilerplate here, but every solution that I could come up with has some sort of flaw and it's not worth postponing this PR over those kinds of improvements. We can always make them in a follow-up PR. Nice work!
rerun tests |
Java test failed due to a bug in Java code. You should be good to merge this without waiting for it to be fixed. |
@gpucibot merge |
Follow-up to #9571 where we add `ceil` and `floor` support for `Series`. Here we add `ceil` and `floor` support to `DatetimeIndex` class. This PR is dependent on #9571 getting merged first since it assumes the `libcudf` implementation for `floor` exists. Authors: - Mayank Anand (https://github.com/mayankanand007) Approvers: - Michael Wang (https://github.com/isVoid) - Ashwin Srinath (https://github.com/shwina) URL: #9554
Small fix to inconsistent variable names in tests, following up from #9571. Previous conversation: #9571 (comment) Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Vukasin Milovanovic (https://github.com/vuule) URL: #9735
This PR removes all "smart quotes" from the library by enforcing a pre-commit hook. Smart quotes typically arise from copying rendered docstrings from Pandas, because Sphinx automatically transforms straight quotes into smart quotes when rendering the docs as HTML. However, the use of smart quotes is undesirable in code, and makes it difficult to do find-replace transformations if straight and smart quotes are mixed. I have made suggestions to fix this several times before, so I am making the suggestions more permanent and automatically enforceable via a pre-commit style check: - #12025 (comment) - #9817 (comment) - #9571 (comment) Authors: - Bradley Dice (https://github.com/bdice) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) URL: #12035
Fixes: #7102
Replaces: #9488