-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add DataTree.prune() method … #10598
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
Open
aladinor
wants to merge
32
commits into
pydata:main
Choose a base branch
from
aladinor:feature/datatree-prune-method
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
16b92e3
Add DataTree.is_data_empty property and .prune() method …
aladinor 0b5ee3b
documenting changes in whats-new.rst file
aladinor d5d5621
removing blank lines
aladinor 043a037
Merge branch 'main' into feature/datatree-prune-method
aladinor ba73805
removing new property instead using data_vars and fixing correspondin…
aladinor 6a9664b
removing .is_empty_data entry
aladinor 239c53f
Merge branch 'feature/datatree-prune-method' of https://github.com/al…
aladinor d141fbe
updating github url
aladinor d4b3970
fixing test accordingly
aladinor 4431834
fixing doctest
aladinor 7fc2e8b
fixing doctest
aladinor 6e1956f
fixing doctest
aladinor 6f20286
replacing doctest
aladinor 6da389d
replacing doctest
aladinor d7f85b8
removing empty line
aladinor ecf186d
removing empty line
aladinor 03c78fa
Update xarray/core/datatree.py
aladinor 6161755
Update xarray/core/datatree.py
aladinor a7cd8d5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 338c76a
improving doctests
aladinor aea2e67
fixing typo
aladinor 730c7aa
refactoring test accodingly to Tom's suggestion
aladinor 7722cfe
Merge branch 'main' into feature/datatree-prune-method
aladinor 7aa25c9
fixing test_prune_after_filtering
aladinor 1c78329
Merge branch 'feature/datatree-prune-method' of https://github.com/al…
aladinor d99ee78
refactoring test to use assert_identical
aladinor 82ea57e
refactoring test to use assert)_equal
aladinor 7cd493d
adding reference to .prune method in Subsetting Tree Nodes
aladinor 8223810
adding # doctest: +NORMALIZE_WHITESPACE to avoid error with trailing …
aladinor bbcaf91
Fix doctest trailing space issue in prune method
aladinor 219a4e6
trial 2 fixing trailing space
aladinor 27c964a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.