TDSData.export_csv#

TDSData.export_csv(path=None, idx=None, header=None, formatted=False, sort_idx=True, fmt='%.18e')[source]#

Export to a csv file.

Parameters:
pathstr

path of the csv file to save

idxNone or array-like, optional

the indices of the variables to export. Export all by default

headerNone or array-like, optional

customized header if not None. Use the names from the lst file by default

formattedbool, optional

Use LaTeX-formatted header. Does not apply when using customized header

sort_idxbool, optional

Sort by idx or not, # TODO: implement sort

fmtstr

cell formatter

Returns:
str

The path of the exported csv file