code: def remove_node_attributes(G: nx.DiGraph, attributes: Union[str, Iterable[str]]):
      
      G = G.copy()
      for _, data in G.nodes(data=True):
          for attribute in setwrap(attributes):
              if attribute in data:
                  del data[attribute]
      return G
docs: Return a copy of the graph with the given attributes
      deleted from all nodes.