[Solved] Shift all examples in an attribute by one
Dear all,
I'm looking for a way to create a copy of the attributes which is shifted by one example compared to the original.
Original:
att1 att2
10 50
20 100
30 150
Expexted result:
att1 att1_shifted att2 att2_shifted
10 20 50 100
20 30 100 150
30 150
I tried with the "loop" and "macro" operators but until now I found no solution for this.
I'm always struggiling with these two parameters
Cheers
Sachs
I'm looking for a way to create a copy of the attributes which is shifted by one example compared to the original.
Original:
att1 att2
10 50
20 100
30 150
Expexted result:
att1 att1_shifted att2 att2_shifted
10 20 50 100
20 30 100 150
30 150
I tried with the "loop" and "macro" operators but until now I found no solution for this.
I'm always struggiling with these two parameters

Cheers
Sachs
0
Answers
Ok, here is what I found out so far. Not quite yet what I was looking for but maybe this could be an inspiration for all the brains out there...
Best regards
Sachs
Best,
Marius
Thank you