class_docstr: A generic tree branch.
  
  Parameters
  ----------
  children
      Child branches and/or leaves.
class_docstr_tok: ["A","generic","tree","branch",".","Parameters","--","--","--","--","--","children","Child","branches","and\/or","leaves","."]
docstr: Iterate over branches in depth-first order.
docstr_tok: ["Iterate","over","branches","in","depth-first","order","."]
code: def iter_branches(self):
      """Iterate over branches in depth-first order."""
      yield self
      for child in self.children:
          yield from child.iter_branches()
  
imports: from __future__ import annotations
  import abc
  import typing
  from collections import defaultdict
  from queue import Queue
  from xml.etree import ElementTree
  import pandas
  from river import base
label_desc: Use image node_id 14 for calling the Branch obj's underlying member method code with example usage: obj.iter_branches() without return types