Skip to content

Why it‘s so slow when concat 2 dataarrays? #9814

Answered by shoyer
forestbat asked this question in Q&A
Discussion options

You must be logged in to vote

Try writing xr.concat([data_array1, data_array2], dim='variable'). The syntax you used before (dim=['basin_id', 'time', 'variable']`) is not valid.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by forestbat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants