SetRotateColumnLabels Method (Python)
Rotates the category labels closest to the data (that is, categories of the column dimension with the largest index).
Syntax
SpssPivotTable.SetRotateColumnLabels(boolean)
Parameters
True. The column labels closest to the data are displayed vertically
False. The column labels closest to the data are displayed horizontally