A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.xarray.dev/en/stable/generated/xarray.DataTree.drop_nodes.html below:

xarray.DataTree.drop_nodes

xarray.DataTree.drop_nodes#
DataTree.drop_nodes(names, *, errors='raise')[source]#

Drop child nodes from this node.

Parameters:
  • names (str or iterable of str) – Name(s) of nodes to drop.

  • errors ({"raise", "ignore"}, default: "raise") – If ‘raise’, raises a KeyError if any of the node names passed are not present as children of this node. If ‘ignore’, any given names that are present are dropped and no error is raised.

Returns:

dropped (DataTree) – A copy of the node with the specified children dropped.


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