Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: stonysmithYou don't need python, unless there is some other complexity to the data.
There are many ways to deal with this, but here's one of the simplest.
If you want to select rows 50 thru 70 of an input set, use a Filter node with this bit of brainscript:
emit *
where execCount >= 50 and execCount <= 70
If the dataset has a large number of records, this will speed it up a good bit:
emit *
where execCount >= 50 and execCount <= 70
if execCount>70 then consume(1,true) #stop reading more input records