def create_empty_copy(G, with_data=True):
    H = G.__class__()
    H.add_nodes_from(G.nodes(data=with_data))
    if with_data:
        H.graph.update(G.graph)
    return H
:param v:
dataset/ETHPy150Open networkx/networkx/networkx/classes/function.py/create_empty_copy--crossover with--dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/odmservices/series_service.py/SeriesService.variable_exists