-
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
Expose days_in_month
function in libcudf and add python bindings
#8892
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #8892 +/- ##
================================================
- Coverage 10.67% 10.59% -0.09%
================================================
Files 110 116 +6
Lines 18271 19044 +773
================================================
+ Hits 1951 2017 +66
- Misses 16320 17027 +707
Continue to review full report at Codecov.
|
Co-authored-by: GALI PREM SAGAR <[email protected]>
Co-authored-by: Nghia Truong <[email protected]>
Co-authored-by: Nghia Truong <[email protected]>
@gpucibot merge |
…apidsai#8892) Closes rapidsai#8681 This PR adds `days_in_month` function in libcudf and in cudf-python. It extracts the number of days of the month that the date is in. Minor addition: - Adds examples to `is_leap_year` documentation - A previous issue with cuda10.x that precludes use of `ymd.days()` in `add_calendrical_months_functor` is now fixed because we dropped support for cuda10.x. Authors: - Michael Wang (https://github.com/isVoid) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Nghia Truong (https://github.com/ttnghia) - Karthikeyan (https://github.com/karthikeyann) URL: rapidsai#8892
Closes #8681
This PR adds
days_in_month
function in libcudf and in cudf-python. It extracts the number of days of the month that the date is in.Minor addition:
is_leap_year
documentationymd.days()
inadd_calendrical_months_functor
is now fixed because we dropped support for cuda10.x.