I understand,
It’s a little bit hard to know what is wrong, but maybe the lib is trying to load an empty string
if you try a = float("") it returns exactly the same error.
If could be an extra “\n” in the end or some empty line in the file.
Sorry for the vague answer but it might need some debugging to find the the value that can’t be converted.