I am importing a CSV
file that looks like this (Extract of data as viewed in Notepad):
"DateObject[{2022, 4, 11, 7, 0, 0.}, ""Instant"", ""Gregorian"", 1.]",-12.27727296
"DateObject[{2022, 4, 11, 7, 1, 0.}, ""Instant"", ""Gregorian"", 1.]",-12.40909108
"DateObject[{2022, 4, 11, 7, 2, 0.}, ""Instant"", ""Gregorian"", 1.]",-12.40909113
I want to plot this data using DateListPlot
, but as it is it doesn't seem to know how to understand the date-time coordinate values.
I get the following error:
DateListPlot::dtvals: Unable to automatically determine horizontal coordinates for the given data and DataRange.
Just a clarification that this is what the data file looks like when viewed in Excel: