-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC : Update the pandas.Period.week docstring #20331
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 : Update the pandas.Period.week docstring #20331
Conversation
IHackPy
commented
Mar 13, 2018
•
edited by TomAugspurger
Loading
edited by TomAugspurger
pandas/_libs/tslibs/period.pyx
Outdated
@@ -1305,6 +1305,24 @@ cdef class _Period(object): | |||
|
|||
@property | |||
def week(self): | |||
""" | |||
Get the total weeks on the Period falls in. |
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.
Total weeks -> "week of the year"?
We'll want to keep an eye on #20324 for this.
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.
"Get the week of the year on the given Period"?
sure will check #20324
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 update the summary?
Codecov Report
@@ Coverage Diff @@
## master #20331 +/- ##
==========================================
+ Coverage 91.76% 91.77% +0.01%
==========================================
Files 150 152 +2
Lines 49148 49178 +30
==========================================
+ Hits 45099 45135 +36
+ Misses 4049 4043 -6
Continue to review full report at Codecov.
|
@himanshuawasthi95 Thanks! |
thanks @TomAugspurger & @jorisvandenbossche |