This python script is a memorial to the fact that this country's electricity system runs on horrific spreadsheets and they can't even publish them in a CONSISTENT FORMAT.
=> More informations about this toot | More toots from russss@chaos.social
@russss don't worry it's not just the UK, i've gotten CSVs from the US energy monitoring organization and the year column started as a string of a number, then to a float, then back to a string of a number. it's fucked everywhere
=> More informations about this toot | More toots from doskel@doskel.net
@doskel I had one where in one release of the spreadsheet it changed from MVA to kVA, except there was some formatting converting it back to MVA, but pandas obviously didn't know that, so everything was multiplied by 1000.
No problem, I have a multiplier option for exactly this reason.
Next release, it was back to MVA again.
=> More informations about this toot | More toots from russss@chaos.social This content has been proxied by September (3851b).Proxy Information
text/gemini