How to make a new column with experiment number in a data table with stacked repeating continuous data?
Hi, I have a data table with repeating continuous experiments. So the data is already stacked. I have a column where each new experiment starts with 1 then 2 and so on until last measurement. I want to create a new column with experiment number, so every time the other column starts with 1 that is the start of another experiment. I have tried writing this script with help from AI but it does no...