Ive found many similar questions answered, but they cant be used on a groupby, or they aren\'t looking for consecutive boolean values.
Im looking for a way (non-looping)