Tuesday, 3 December 2024

pandas int -> float nightmare

Yeah,

426,{name},77565,77514,77469.0,-1

all numbers are ids, the next to last is automagically converted to float. What the heck?

Workaround: avoid empty values (there are some).

It seems people have had problems the other way round too. Funny.

No comments:

Post a Comment