xenoterracide
05/21/2019, 6:41 PM1.0, 2.0, 0.0, 1.0, 2.0,0.0, 2.0, 2.0
, I want 3 lists 1.0, 2.0
, 0.0, 1.0, 2.0
,0.0, 2.0, 2.0
where 0.0
is a sort of delimiter (so if I had more of those, it would be in the list to the right. Is there an obvious operation to make this happen?streetsofboston
05/21/2019, 6:44 PMsplit
operation, correct (whose results include the delimiter)?xenoterracide
05/21/2019, 6:45 PMxenoterracide
05/21/2019, 6:55 PMchunked
or windowed
except the return can have an arbitrary size