I have data looking like this:
Col1
time: 4
1
2
3
time: 7
4
5
6
time: 11
7
8
...
I want to add a new column an make it to look like this:
Col1 Col2
time: 4 4
1 4
2 4
3 4
time: 7 7
4 7
5 7
6 7
time: 11 11
7 11
8 11
... ...
So I want to grab the specific value from the rows "time: x" and put them in the rows of the new column until the next row with "time: x" appears. Any suggestions? I am not even quite sure if the value in the row is an integer or string. I appreciate your help!