This is part of our series on data science because it belongs in your toolchain. Happy Null Removal!
The latest version of
scrubcsv has built-in null value removal:
$ cat a.csv name,breed,age jerry,beagle,n/a tater,null,1 $ scrubcsv -n 'null|n/a' a.csv name,breed,age jerry,beagle, tater,,1
n/a went away?
Get the latest version with
$ cargo install scrubcsv -f