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
deepcopyis deprecated as of0.6.2. Usecopyinstead.See also
Notes
deepcopyis equivalent tocopywithdeep=True, which is currently the default behavior of the latter.