PyFoam.Basics.CSVCollection module

Collects data and writes it to a CSV-file. Optionally return a pandas-data-frame

class PyFoam.Basics.CSVCollection.CSVCollection(name=None)[source]

Bases: object

Collects data like a dictionary. Writes it to a line in a CSV-file. If the dictionary is extended the whole file is rewritten

clear()[source]

Resets the last line

write()[source]

Writes a line to disk and starts a new one