|||
Write the records as a csv file
records (list) – a list of dataclass objects or namedtuples (anything with a ‘_fields’ attribute)
list
outfile (str) – the path to save the csv file
str
None
<Page contents
>Page contents:
write_records_as_csv()
Styled using the Piccolo Theme