Data subset indexing tips
I have a bunch of concatenated test runs output that have columns: time, position, speed, etc. ... and time goes from 0 to some number, e.g. 50, then resets to zero and starts up again. I'd like to make a new column, setid, that indexes the sets, so the first set (time 0-50) gets a "1" in the setid column, the second set (time resets to 0...) gets a "2" in the setid column, etc. Is there a smart/...