html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/pull/6638#issuecomment-1139098672,https://api.github.com/repos/pydata/xarray/issues/6638,1139098672,IC_kwDOAMm_X85D5UQw,5635139,2022-05-26T22:01:55Z,2022-05-26T22:01:55Z,MEMBER,"Because we want an all-NaN slice to return NaN for `corr`, this doesn't work — we would need to add another transformation to mask out those slices after, when then requires another pass. If there were a numba implementation of corr or cov, that would be far more performant than these, which are doing multiple passes & copies of each array, as well as blowing out any single-dimensions with the `align`. I'll close this. If anyone has alternative ideas, please feel free to raise.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1249095540