Rotate a block of data 180 degrees

I have a csv file with a block of data like this:
11,12,13,14,15
16,17,18,19,20
21,22,23,24,25

and this block of data should be rotated 180 degrees to this:
25,24,23,22,21
20,19,18,17,16
15,14,13,12,11

I tried it with the Transpose node, but did not get this result.

Has anyone an idea how to solve this?

Thanks
Ron

Hi @RonG ,

I believe the steps you require for the transformation are:
(1) reverse the row order
(2) transpose (rotate 90 degrees)
(3) reverse the row order
(4) transpose (rotate 90 degrees)
(5) Fix the column names back into original order [if required]

image

becomes

Rotate data through 180 degrees.knwf (52.9 KB)

3 Likes

Thanks a lot for this solution

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.