Write to_float(value): return float(value) when it parses, None when it doesn't (the coerce move — junk becomes an explicit missing marker, never a crash). The script casts a messy column and reports the damage.
Write to_float(value): return float(value) when it parses, None when it doesn't (the coerce move — junk becomes an explicit missing marker, never a crash). The script casts a messy column and reports the damage.