I have a data frame with two columns in which one column header is "5" (5 is the number of time-series rows), the other is the "Value" column like this:
5 Value
2014-01-01 00:00:00 2.80
2014-01-01 00:15:00 2.97
2014-01-01 00:30:00 2.74
2014-01-01 00:45:00 2.54
2014-01-01 01:00:00 2.28
I would like to add some text rows above the two columns header when saving the data frame to *.dat (or *CSV) file format like this:
$Column1=Time (days)
$Column2=Temperature (°C)
5 Value
2014-01-01 00:00:00 2.80
2014-01-01 00:15:00 2.97
2014-01-01 00:30:00 2.74
2014-01-01 00:45:00 2.54
2014-01-01 01:00:00 2.28
Thank you in advance.