Skip to content

Conversation

@wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Nov 4, 2025

close #254, return xr.Dataset for Component and xr.DataTree for Context. I figure since pandas does to_xarray and you get either xr.Dataset or xr.DataArray depending if the object called on was a series or a dataframe, we might as well follow. but no strong feelings

@wpbonelli wpbonelli marked this pull request as ready for review November 4, 2025 13:28
@wpbonelli wpbonelli merged commit ddc1cbe into modflowpy:develop Nov 4, 2025
11 checks passed
@wpbonelli wpbonelli deleted the to-xarray branch November 4, 2025 13:28
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

Successfully merging this pull request may close these issues.

Xarray to_dataset methods on components

1 participant