skbio.tree.TreeNode.deepcopy#

TreeNode.deepcopy()[source]#

Return a deep copy of self using an iterative approach.

Deprecated since version 0.6.2: Use copy() instead.

Returns:
TreeNode

A new deep copy of self.

See also

copy

Notes

deepcopy is equivalent to copy with deep=True, which is currently the default behavior of the latter.