SetVarNamesDisplay Method (Python)

This method sets how variable names are displayed in the pivot table: as variable names, as variable labels, or both.

Note: This method is not supported for legacy tables.

Syntax

SpssPivotTable.SetVarNamesDisplay(display)

Table 1. Settings for display
Value Description
SpssClient.VarNamesDisplay.Names Names
SpssClient.VarNamesDisplay.Labels Labels
SpssClient.VarNamesDisplay.Both Names and labels