You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a clean way of sanitising my csvs before the unmarshaling happens. Take this csv as an example:
Name,Age,Height
John,10,1.80
Jack,20,N/A
In this case it will fail to decode due to N/A value. I would like to have a way to replace it with NaN or an empty string so it's omitted. The solution from csvutil package is a really easy and clean one.
I would like to have a clean way of sanitising my csvs before the unmarshaling happens. Take this csv as an example:
In this case it will fail to decode due to
N/A
value. I would like to have a way to replace it withNaN
or an empty string so it's omitted. The solution fromcsvutil
package is a really easy and clean one.The text was updated successfully, but these errors were encountered: