-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Make _field_accessor manage the docstring format #24099
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
Hello @charlesdong1991! Thanks for submitting the PR.
|
pandas/core/arrays/datetimes.py
Outdated
"\nThe ordinal day of the year\n") | ||
quarter = _field_accessor('quarter', 'q', "\nThe quarter of the date\n") | ||
"The ordinal day of the year") | ||
quarter = _field_accessor('quarter', 'q', "The quarter of the date") |
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.
If you don't mind adding periods at the end of these 3 docstrings, that would be great, so we fix that error too.
Also, if you can merge master, and check that the CI is green, so we can merge.
Codecov Report
@@ Coverage Diff @@
## master #24099 +/- ##
=======================================
Coverage 42.52% 42.52%
=======================================
Files 161 161
Lines 51697 51697
=======================================
Hits 21982 21982
Misses 29715 29715
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #24099 +/- ##
===========================================
+ Coverage 42.52% 92.21% +49.68%
===========================================
Files 161 161
Lines 51697 51684 -13
===========================================
+ Hits 21982 47658 +25676
+ Misses 29715 4026 -25689
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.
lgtm, thanks @charlesdong1991
thanks @charlesdong1991 |
git diff upstream/master -u -- "*.py" | flake8 --diff