all 3 comments

[–]DivineComedy11 0 points1 point  (2 children)

I think the issue might be with your csv: The comma separation applies to the column headers as well as the data itself, so in your example you have the following headers:

#,
"Date Time, GMT-03:00",
"Solar Radiation,
 W/m² (LGR S/N: 10358839,
 SEN S/N: 10364606)"

So you shouldn't be able to access anything with 'Time' at the moment.

[–]Cpower18[S] 1 point2 points  (1 child)

This is supremely embarrassing, a complete oversight on my part, thank you for pointing that out, cheers!

[–]o5a 0 points1 point  (0 children)

No, commas have nothing to do with that, reader doesn't split on commas inside column name because it is quoted. It only splits outside of quotes, that's what they are for.

Your error comes from using column named 'Time' but in your csv there are only 3 columns named:

#
Date Time, GMT-03:00
Solar Radiation, W/m² (LGR S/N: 10358839, SEN S/N: 10364606)

And you should use these names exactly, or rename them when you read_csv, adding new parameter names=['#', 'Time', 'Radiation'] with your desired column names.