how do I import an array with mixed floats and non-numeric strings, with strings converted to zeros
I have an array similar to [1.124, 5.152, 6.235, NaN, 5.124, Infinity]. And I would like to import it as [1.124, 5.152, 6.235, 0, 5.124, 0]. How do I do this?
Aucun commentaire:
Enregistrer un commentaire