classmethod CSV.import_data(filename, project=None, delim=' | ')[source]

Opens a ‘csv’ file, reads in the data, and adds it to the Network

  • filename (str (optional)) – The name of the file containing the data to import. The formatting of this file is outlined below.

  • project (Project) – A GenericNetwork is created and added to the specified Project. If no Project object is supplied then one will be created and returned.


project – An OpenPNM project containing the data assigned to Generic versions of the objects from which it was exported.

Return type