I need to export a csv file of a dataset that I created in Wolfram.
What I have now is Export
ing the dataset
to a csv file:
rawData = Table[{i, RandomInteger[{-10, 10}]}, {i, 1, 5}]
dataset = Dataset[MapApply[<|"time" -> #1, "channel1" -> #2|> &, rawData]]
Export["data.csv", dataset]
Opening the csv file in Notepad or any other text editor, the first line reads
"time","channel1"
while I need it to be
time,channel1
This is a small thing to change, but I later plot this dataset with LaTeX's pgfplots
package, that reads headers without quotations. Manually removing the "
s in Notepad after exporting is a but cumbersome.
Do you have any idea for how to export my dataset
to csv without Wolfram's built in way of specifying strings with quotation marks?