cfdm.core.Container.copy

Container.copy()[source]

Return a deep copy.

f.copy() is equivalent to copy.deepcopy(f).

New in version (cfdm): 1.7.0

Returns
Container

The deep copy.

Examples

>>> f = cfdm.core.Container()
>>> g = f.copy()