Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Increment and Decrement based on previous data

enter image description here

Hi i have a dataframe as shown , Here I want to add new column in such a way if sum of rows in a column reaches to 20 that should be in one cluster. Please see below example for better understanding

enter image description here

please help

Comments