Pergunta
How to group consecutive values that meet a condition, or in other words all the values that belong to the same streak.For example, creating groups of days based on the number of consecutive days that had a negative profit. If there are 3 days in a row with negative profit, those days would all belong to group "3"