Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sould extract place the sample dims on the left? #2409

Open
ricardoV94 opened this issue Jan 16, 2025 · 1 comment
Open

Sould extract place the sample dims on the left? #2409

ricardoV94 opened this issue Jan 16, 2025 · 1 comment

Comments

@ricardoV94
Copy link

ricardoV94 commented Jan 16, 2025

Position of dims is not so important in xarray, but when we work convert back to numpy it is.

I was suprised by the behavior of placing the stacked dimensions on the right. Any reason for this?

It sounds like it would also be more likely to involve a copy of the underlying data compared to if it was kept on the left, where samples/chains usually are?

@ricardoV94 ricardoV94 changed the title Sould extract place the sample dims at the front Sould extract place the sample dims on the left? Jan 16, 2025
@amaloney
Copy link
Member

Thanks @ricardoV94, can you do us a favor and give an example of the code now, and what you would have expected it to be, given your observation? The ability to compare and contrast in the issue will help facilitate the conversation and for us to debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants