-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
cumprod returns errors #807
Comments
Could you please open a pull request with your branch so we can take a look at what's going on? The current code will need some adjustments to put cumprod/cumsum in (namely, a variant of reduce that doesn't need to drop dimensions) |
I'm going to close this because it isn't a bug in any merged code. Let's discuss in the PR instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The xarray implementation of
cumprod
returns an assertion error, presumably because of bottleneck, e.g., https://github.com/pydata/xarray/blob/master/xarray/core/ops.py#L333. The error isIf bottleneck is uninstalled then a value error is returned:
No error occurs if the data array is converted to a numpy array prior to use of
cumprod
.This can easily be reproduced by https://gist.github.com/c32f231b773ecc4b0ccf, excerpted below
The text was updated successfully, but these errors were encountered: