-
Notifications
You must be signed in to change notification settings - Fork 15
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
Mistaken use of ds.var() in core.py
?
#37
Comments
Yikes, yeah that's definitely a bug. Weird that it hasn't triggered any of the tests yet... Yeah, should likely be Thanks for pointing this out, will take a look. |
Ok thankfully it hasn't caused any computational problems, since for types for which |
Thanks! |
In
core.py
, there are a few loops of the form:for var in ds.var():
.This tries to compute a variance across all dimensions, for each variable. Is that the intention? I think you just mean
for var in ds:
.Note that if any variables are of a type for which
var
cannot be computed (e.g.,timedelta64[ns]
) thenaggregate
fails.The text was updated successfully, but these errors were encountered: