-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
PERF: quantile now operates per block boosting perf / fix quantile with nan #13122
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
cc @sinhrks |
e0a2d03
to
eacc055
Compare
@sinhrks this also resolves some thorny issues with |
44ffd60
to
fb6b853
Compare
@@ -1260,32 +1267,117 @@ def equals(self, other): | |||
return False | |||
return array_equivalent(self.values, other.values) | |||
|
|||
def quantile(self, qs, mgr=None, **kwargs): | |||
def quantile(self, qs, interpolation='linear', axis=0, mgr=None, **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.
kwargs
is not used anymore?
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.
umm no.
Thanks. I've at a loss how to achieve the behavior you did in BTW, we don't seem to test |
12509b0
to
c815bdb
Compare
ok added test for mixed, though not a whole lot you can do with it. |
REGR: series quantile with nan closes pandas-dev#11623 closes pandas-dev#13098
closes #11623
closes #13098
There is a slight API change in that the returned Series are now named by the quantile.
this PR
0.18.1