Traceback (most recent call last):
File "scripts/plot_storage_levels.py", line 151, in <module>
year = data.index[0].year
AttributeError: 'str' object has no attribute 'year'
The format of the index looks strange when I print it: 2017-01-01 00:00:00;0.0;0.0;0.0;3.1119065;0.0;0.0;0.0;5.9660555
If I run the script I get the following error:
The format of the index looks strange when I print it:
2017-01-01 00:00:00;0.0;0.0;0.0;3.1119065;0.0;0.0;0.0;5.9660555