Add some basic missing support, parallelling that in TC's main dataset API.
Solution
This PR adds the following fns:
missing - returns missing index in a column
is-missing? - returns true|false if specified index position is missing
count-missing
replace-missing
drop-missing
The only actually new function here is count-missing, which is just a convenience. replace-missing and drop-missing just use tech.v3.dataset's functions. They pack the column into a dataset, call those fns, and then extract the column.
Goal
Add some basic missing support, parallelling that in TC's main dataset API.
Solution
This PR adds the following fns:
missing
- returns missing index in a columnis-missing?
- returns true|false if specified index position is missingcount-missing
replace-missing
drop-missing
The only actually new function here is
count-missing
, which is just a convenience.replace-missing
anddrop-missing
just use tech.v3.dataset's functions. They pack the column into a dataset, call those fns, and then extract the column.