How to Keep Groups in Pandas Groupby When the Value is Consecutive 1 for 4 Times

13K views

vlogize

1 year ago

How to Keep Groups in Pandas Groupby When the Value is Consecutive 1 for 4 Times

How to Keep Groups in Pandas Groupby When the Value is Consecutive 1 for 4 Times