Filter a datatree like another datatree.
Returns a new tree containing only the nodes in the original tree which are also present in the other tree.
Examples
>>> dt = DataTree.from_dict( ... { ... "/a/A": None, ... "/a/B": None, ... "/b/A": None, ... "/b/B": None, ... } ... ) >>> other = DataTree.from_dict( ... { ... "/a/A": None, ... "/b/A": None, ... } ... ) >>> dt.filter_like(other) <xarray.DataTree> Group: / ├── Group: /a │ └── Group: /a/A └── Group: /b └── Group: /b/A
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4