-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fixes after #17482 #17554
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
DOC: Fixes after #17482 #17554
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17554 +/- ##
==========================================
- Coverage 91.25% 91.23% -0.02%
==========================================
Files 163 163
Lines 49606 49606
==========================================
- Hits 45266 45257 -9
- Misses 4340 4349 +9
Continue to review full report at Codecov.
|
One question for |
Yes, Really, there's even less of a case for |
@@ -63,7 +63,7 @@ class TestPDApi(Base): | |||
# top-level functions | |||
funcs = ['bdate_range', 'concat', 'crosstab', 'cut', | |||
'date_range', 'interval_range', 'eval', | |||
'factorize', 'get_dummies', | |||
'factorize', 'get_dummies', 'cdate_range', |
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 cdate_range needs to be in api.rst as well?
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.
that's the issue being solved here: it was already added to api.rst in a previous PR, but wasn't actually yet included in the api
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.
ok great
thanks @jschendel you are very responsive! keep em' coming! |
@jreback we were still discussing this. I am -1 (at this point) on adding this to the API. |
@jschendel Ah, I didn't notice that |
.. warning:: EXPERIMENTAL | ||
|
||
The CustomBusinessDay class is not officially supported and the API is | ||
likely to change in future versions. Use this at your own risk. |
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 also don't think we should remove this, unless we also remove the actual 'experimental' status of the CustomBusinessDay itself (which might be OK to do, I just don't know it)
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.
Okay, once we reach a consensus, I can either add this back or remove the additional warnings.
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.
yes this is ok
we have had this for quite a long time
From a technical standpoint this would be straightforward, and I'd be happy to submit a PR to do so, if that's what's ultimately decided. Really, both |
I never use business frequency related functionality, so difficult to assess. I would suggest cdate_range -> bdate_range merge, as this is the easiest (cdate_range was not yet top-level, so we can easily remove it again). Merging both cdate_range/bdate_range in date_range is a bit more 'invasive' as this needs deprecating of |
@jorisvandenbossche : Okay, I'll open up an issue related to merging |
git diff upstream/master -u -- "*.py" | flake8 --diff
Some doc fixes related to #17482:
func:
->:func:
cdate_range
to the public api so that it works in the docscdate_range
totests\api\test_api.py
to ensure that adding it to the top-level api is testedcdate_range
docstringinterval_range
(strings aren't supported).