Hello
I am running Ignition 7.9.6 and trying to add a column to a dataset with some None values, with unexpected results. See the code snippet below.
ds = system.dataset.toDataSet(['Id', 'Name'],
[[1, 'Nick'], [2, 'Joe'], [3, 'Larry']])
newColumn = [None, 'Shmoe', None]
ds = system.dataset.addColumn(ds,
newColumn,
'LastName',
str
)
for r in range(ds.rowCount):
print '\t'.join(str(ds.getValueAt(r, c))\
for c in range(ds.columnCount))
# Expected result
#1 Nick None
#2 Joe Shmoe
#3 Larry None
# Output
#1 Nick None
#2 Joe Shmoe
#3 Larry Shmoe
Am I doing something wrong or is this a bug?