Write a dataset to a CSV-formatted file with a data header.
dict
The data to be written as a dictionary of NumPy arrays
str
The filename to write the data to.
Write a “new” file or “append” to an existing file?
write_data_to_csv()