Yeqzids/SP

itertools.groupby in SP_Flat.py

Yeqzids opened this issue · 0 comments

SP/SP_Flat.py

Line 42 in c7d8d29

for k, g in groupby(enumerate(index), lambda x: x[1]-x[0]):
and

SP/SP_Flat.py

Line 44 in c7d8d29

for k, g in itertools.groupby(enumerate(index), lambda x: x[1]-x[0]):
use different instance of itertools.groupby.