spss.GetWeightVar Function (Python)

spss.GetWeightVar(). Returns the name of the weight variable, or None if unweighted.

Example

import spss
weightVar = spss.GetWeightVar()