ash_model.readwrite.io.write_sh_to_csv

ash_model.readwrite.io.write_sh_to_csv(h, path)[source]

Write a list of timestamped hyperedges to a CSV file. Does not support attributes. The CSV file will have the following format: n1,n2,… start,end Warning: there is no guarantee that the order of hyperedges will be preserved when reading back.

Parameters:
  • h (ASH) – ASH object to write.

  • path (str) – Path to the CSV file.

Returns:

None

Return type:

None