-
-
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
Added option to specify weights in xr.corr() and xr.cov() #8527
Commits on Dec 6, 2023
-
Added function _weighted_cov_corr and modified cov and corr to call i…
…t if parameter weights is not None
Llorenc Lledo authored and Llorenc Lledo committedDec 6, 2023 Configuration menu - View commit details
-
Copy full SHA for 88c0726 - Browse repository at this point
Copy the full SHA 88c0726View commit details -
Correct two indentation errors
Llorenc Lledo authored and Llorenc Lledo committedDec 6, 2023 Configuration menu - View commit details
-
Copy full SHA for 0d2f548 - Browse repository at this point
Copy the full SHA 0d2f548View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 31302a7 - Browse repository at this point
Copy the full SHA 31302a7View commit details -
Llorenc Lledo authored and Llorenc Lledo committed
Dec 6, 2023 Configuration menu - View commit details
-
Copy full SHA for d801d4a - Browse repository at this point
Copy the full SHA d801d4aView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 042bb28 - Browse repository at this point
Copy the full SHA 042bb28View commit details -
Remove the min_count argument from mean
Llorenc Lledo authored and Llorenc Lledo committedDec 6, 2023 Configuration menu - View commit details
-
Copy full SHA for fcf8632 - Browse repository at this point
Copy the full SHA fcf8632View commit details -
Merge remote-tracking branch 'refs/remotes/origin/weighted_cov_corr' …
…into weighted_cov_corr
Llorenc Lledo authored and Llorenc Lledo committedDec 6, 2023 Configuration menu - View commit details
-
Copy full SHA for 4d961e9 - Browse repository at this point
Copy the full SHA 4d961e9View commit details
Commits on Dec 7, 2023
-
Unified the code for weighted and unweighted _cov_corr
Llorenc Lledo authored and Llorenc Lledo committedDec 7, 2023 Configuration menu - View commit details
-
Copy full SHA for d35fa97 - Browse repository at this point
Copy the full SHA d35fa97View commit details
Commits on Dec 8, 2023
-
Remove old _cov_corr function after checking that new version produce…
…s same results when weights=None or weights=xr.DataArray(1)
Llorenc Lledo authored and Llorenc Lledo committedDec 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 7c646a7 - Browse repository at this point
Copy the full SHA 7c646a7View commit details -
Added examples that use weights for cov and corr
Llorenc Lledo authored and Llorenc Lledo committedDec 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 20936e6 - Browse repository at this point
Copy the full SHA 20936e6View commit details -
Added two tests for weighted correlation and covariance
Llorenc Lledo authored and Llorenc Lledo committedDec 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 3ce7d6e - Browse repository at this point
Copy the full SHA 3ce7d6eView commit details -
Fix error in mypy, allow None as weights type.
Llorenc Lledo authored and Llorenc Lledo committedDec 8, 2023 Configuration menu - View commit details
-
Copy full SHA for f7bc41a - Browse repository at this point
Copy the full SHA f7bc41aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 827faad - Browse repository at this point
Copy the full SHA 827faadView commit details
Commits on Dec 11, 2023
-
Update xarray/core/computation.py
Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d61c1ab - Browse repository at this point
Copy the full SHA d61c1abView commit details -
Update xarray/core/computation.py
Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for db1c5c0 - Browse repository at this point
Copy the full SHA db1c5c0View commit details -
Info on new options for cov and corr in whatsnew
Llorenc Lledo authored and Llorenc Lledo committedDec 11, 2023 Configuration menu - View commit details
-
Copy full SHA for b5694a1 - Browse repository at this point
Copy the full SHA b5694a1View commit details -
Info on new options for cov and corr in whatsnew
Llorenc Lledo authored and Llorenc Lledo committedDec 11, 2023 Configuration menu - View commit details
-
Copy full SHA for f63acfa - Browse repository at this point
Copy the full SHA f63acfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71cfac8 - Browse repository at this point
Copy the full SHA 71cfac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f086ff5 - Browse repository at this point
Copy the full SHA f086ff5View commit details
Commits on Dec 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2a1467b - Browse repository at this point
Copy the full SHA 2a1467bView commit details