index Property (Python)

The index property of a Variable object gets the variable index. The index value represents position in the dataset starting with 0 for the first variable in file order.

Example

varObj = datasetObj.varlist['bdate']
index = varObj.index