I have a pandas DataFrame with 400 columns and 100 rows which I would like to display as an image. The instrument that generates these data does so in a way requiring every second row to be reversed for it to be displayed properly.
How can I reverse specific rows in pandas or with numpy if converted to a 2D np.array (i.e. row 1, 3, 5, 7...len(df)?