Skip to content

How to use apply_ufunc depending on data dims? #6234

Answered by dcherian
zxdawn asked this question in Q&A
Discussion options

You must be logged in to vote

I answered on stack overflow. Can you add a new section to https://xarray.pydata.org/en/stable/examples/apply_ufunc_vectorize_1d.html#Vectorization-with-np.vectorize showing this example? It seems like a good example to add.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by zxdawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants