dynetx.readwrite.edgelist.read_snapshots

dynetx.readwrite.edgelist.read_snapshots(path, comments='#', directed=False, delimiter=None, nodetype=None, timestamptype=None, encoding='utf-8', keys=False)

Read a DyNetx graph from snapshot graph list format.

Parameters:
  • path (basestring) – The desired output filename
  • delimiter (character) – Column delimiter
  • comments (character) – Comments row identifier
  • directed (bool) – Whether the graph is directed or not
  • nodetype (object) – node type
  • timestamptype (object) – timestamp type
  • encoding (str) – File encoding, default utf-8
  • keys (bool) –