kenfar/DataGristle — Issue #11: Add random rows to gristle_slicer
Author: kenfar
Created: 2011-11-06 19:23:54+00:00
State: open

gristle_slicer has the ability to extract rows & columns based on inclusion & exclusion specifications.

Add the ability to include and exclude a random number or random % of rows. Ideally either format could be given, the % suffix would indicate how to interpret the value. -r & -R for random would be great, but is already taken. Perhaps --randrecords?

Ideally, this "random inclusion" would happen after "explicit inclusion" but prior to "explicit exclusion", and would not consider any rows explicitely included. Likewise, "random exclusion" would happen after "explicit exclusion".