skbio.tree.TreeNode.deepcopy#
- TreeNode.deepcopy()[source]#
Return a deep copy of self using an iterative approach.
- Returns:
- TreeNode
A new deep copy of self.
Warning
deepcopy
is deprecated as of0.6.2
. Usecopy
instead.See also
Notes
deepcopy
is equivalent tocopy
withdeep=True
, which is currently the default behavior of the latter.