From 5407f926c7868a9bc39c929ec68a87732a769d57 Mon Sep 17 00:00:00 2001 From: Seamus Abshere Date: Tue, 5 Nov 2019 17:50:05 -0500 Subject: [PATCH] example of null removal --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 281bb12..fdf35f1 100644 --- a/README.md +++ b/README.md @@ -87,3 +87,15 @@ it into an existing buffer to avoid `malloc` overhead (which is almost certianly the bottleneck here), but that would require more code. Still, file an issue if performance is a problem. We could probably make this a maybe two to four times faster (and it would be fun to optimize). + +## Removing all nulls + +Here's how to remove [all nulls as defined by BigML](https://bigml.com/api/sources): + +``` +scrubcsv --null \\s\*\(N/A\|n/a\|NULL\|null\|\\-\|\\\#DIV/0\|\\\#REF\!\|\\\#NAME\\\?\|NIL\|nil\|NA\|na\|\\\#VALUE\!\|\\\#NULL\!\|NaN\|\\\#N/A\|\\\#NUM\!\|\\\?\)\\s\* foobar.csv +``` + +## Copyright + +Copyright 2019 Faraday