(structure)
return iter_copy(structure)
Returns a copy of the given structure (numpy-array, list, iterable, ..).
Returns a copy of the given structure (numpy-array, list, iterable, ..).
Returns a copy of the given structure ( numpy - array list iterable .. ) .
def structure_copy(structure):
    """
    Returns a copy of the given structure (numpy-array, list, iterable, ..).
    """
    if hasattr(structure, "copy"):
        return structure.copy()
    return iter_copy(structure)
def structure_copy ( structure ) : if hasattr ( structure , "copy" ) : return structure . copy ( ) return iter_copy ( structure )