Can someone help select rotation method for my dataset?

Can someone help select rotation method for my dataset? I need a CSV which looks like this in standard file in java: This is what it looks like in the UI: