You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xarray has a to_stacked_array method, which is very handy. However, given the extra conventions and features in ArviZ, we could have an improved version of that, something like:
were instead of a multiindex we use explicit indexes, use the labeller, and automatically set the name to the group name if available.
I think the function should have some similarities to extract with respect to the signature (i.e. accept idata or dataset, probably filtering vars too) but be an independent function.
The text was updated successfully, but these errors were encountered:
xarray has a
to_stacked_array
method, which is very handy. However, given the extra conventions and features in ArviZ, we could have an improved version of that, something like:were instead of a multiindex we use explicit indexes, use the labeller, and automatically set the name to the group name if available.
I think the function should have some similarities to
extract
with respect to the signature (i.e. accept idata or dataset, probably filtering vars too) but be an independent function.The text was updated successfully, but these errors were encountered: