Skip to content

BUG: quantile isn't checking for scaler correctly #6943

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

Closed
TomAugspurger opened this issue Apr 23, 2014 · 1 comment
Closed

BUG: quantile isn't checking for scaler correctly #6943

TomAugspurger opened this issue Apr 23, 2014 · 1 comment

Comments

@TomAugspurger
Copy link
Contributor

I'm going to do #4196 (multiple quantiles)

But this came up:

you get a result from _quantile. Then it checks this:

if not np.isscalar and com.is_timedelta64_dtype(result):

Should np.isscalar be called on result?

Currently that if block is never entered since not np.isscaller is False

@TomAugspurger
Copy link
Contributor Author

Sorry, I guess I was on an old branch. Nevermind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant