name Property (Python)
The name
property of a Dataset
object gets the name of the associated
dataset. The name cannot be changed from within the data step. To
change the name, use the DATASET NAME
command following spss.EndDataStep
.
Example
import spss
spss.StartDataStep()
datasetObj = spss.Dataset('data1')
datasetName = datasetObj.name
spss.EndDataStep()