The original data value is shown as x, first of all, it is hoped that the same value can be next to different stages, as shown in x1; secondly, the number of each stage is expected to be counted, as shown in x2.I'm looking forward to your reply.Thanks!!!
x x1 x2
0 1 1
0 1 2
0 1 3
0 1 4
1 2 1
1 2 2
1 2 3
1 2 4
0 3 1
0 3 2
0 3 3
1 4 1
0 5 1
x x1 x2
0 1 1
0 1 2
0 1 3
0 1 4
1 2 1
1 2 2
1 2 3
1 2 4
0 3 1
0 3 2
0 3 3
1 4 1
0 5 1

Comment