I have the following data table:
I want to make a cumulative product for the sequences between the zero's, such that i get the following:
I need to do this for several large dataset, and fail to find a efficient way of calculating this. I hope someone is able to help, and thanks in advance.