Skip to content

Start emitting deprecation warning for Dataset.to_array (GH11721) - #11788

Open
SoutrikDas wants to merge 2 commits into
pydata:mainfrom
SoutrikDas:deprecate-to-array
Open

SoutrikDas wants to merge 2 commits into
pydata:mainfrom
SoutrikDas:deprecate-to-array

Conversation

@SoutrikDas

@SoutrikDas SoutrikDas commented Oct 22, 2026 •

Copy link
Copy Markdown

Description

Dataset.to_array is deprecated in favor of Dataset.to_dataarray but no warnings were being emitted. Add a FutureWarning there. Add a test to check if warning is being emitted.

Checklist

Dataset.to_array is deprecated in favor of Dataset.to_dataarray
but no warnings were being emitted. Add a FutureWarning there.
Add a test to check if warning is being emitted.
@welcome

welcome Bot commented Oct 22, 2026

Copy link
Copy Markdown

Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient.
If you have questions, some answers may be found in our contributing guidelines.

This branch has not been deployed

No deployments
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.

1 participant