deflex.DeflexScenario.to_csv

DeflexScenario.to_csv(path)

Store the input data as a csv-collection.

filename : str
Full path to the filename.

Examples

>>> import deflex as dflx
>>> fn = dflx.fetch_test_files("de02_no-heat.xlsx")
>>> sc = dflx.DeflexScenario()
>>> # read scenario from xlsx-file
>>> sc = sc.read_xlsx(fn)
>>> # store scenario as csv collection.
>>> sc.to_csv(fn.replace(".xlsx", "_csv"))