Skip to content

Issue with xr.apply_ufunc #5428

Answered by max-sixty
pecos27 asked this question in Q&A
Jun 2, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Does xr.corr suffice?

Assuming not, I'm guessing the issue is that ma.masked_invalid is no longer a DataArray. What happens if you do the coercion in the pearson_r function?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pecos27
Comment options

Answer selected by pecos27
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants