Finding size of table and current row index script

@lrose
I recently found from @JordanCClark’s post that you can use getColumnAsList to get column data from a table as a list :slight_smile:

From him:

# Get column names. Coerce it to a list to use the same names in the new dataset.
headers = list(dataIn.getColumnNames())

# Get tag paths as a list
tagList  = dataIn.getColumnAsList(headers.index('InterlockedTags'))

(thanks Jordan - post added to my ignition goodies collection :grin:)

1 Like