finesse.utilities.tables.Table.write_csv

Table.write_csv(csvfile, dialect='excel', **fmtparams)[source]

Write the table data to a csv file using the csv package.

Parameters
csvfile

Any object with a write method. The file the data will be written to.

dialectcsv.Dialect or str, default=”excel”

The CSV dialect to use. may be an instance of csv.Dialect or any subclass thereof or any string in csv.list_dialects().

**fmtparamsdict, optional

Formatting parameters for csv.writer

Returns
The writer object used.