-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
[WIP]: Add quantile shortcut #15032
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
[WIP]: Add quantile shortcut #15032
Conversation
tests! |
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.
look at how .mean is implemented
Current coverage is 84.76% (diff: 33.33%)@@ master #15032 diff @@
==========================================
Files 145 145
Lines 51131 51138 +7
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 43346 43347 +1
- Misses 7785 7791 +6
Partials 0 0
|
@@ -1026,6 +1026,22 @@ def mean(self, *args, **kwargs): | |||
|
|||
@Substitution(name='groupby') | |||
@Appender(_doc_template) | |||
def quantile(self, *args, **kwargs): |
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.
not sure what you are doing here, this doesn't affect .resample
.
but more importantly w/o tests it is impossible to tell.
can you rebase / update |
if you'd like to add tests and finish this up, pls ping. |
Ping @srinivasreddy. Would have used this :) |
git diff upstream/master | flake8 --diff