code: def set_of_sets(iterable):
      return set(map(frozenset, iterable))
  
file_path: networkx/networkx/algorithms/community/tests/test_centrality.py
imports: from operator import itemgetter
  import networkx
label_desc: Use image node_id 1 for calling a global function with example usage: set_of_sets(iterable) and returns: set