Caption Method (Python)
.Caption(caption). Adds a caption to the pivot table. The argument caption is a string specifying the caption.
Example
table = spss.BasePivotTable("Table Title",
"OMS table subtype")
table.Caption("A sample caption")