[IGN-4005]Just one of those moments

>>> hist_col_names = hist_dset.getColumnNames()
>>> new_dset = system.dataset.toDataSet(hist_col_names, new_data)
TypeError: toDataSet(): 1st arg can't be coerced to org.python.core.PySequence

C’mon, Ignition! You’re the one who gave me that list of column names, from a dataset, that you can’t use to set the column names of a new dataset unless I pass it through list() for you?
:exploding_head:

2 Likes

Boo, we’re doing something silly in the implementation. I added a note to fix this at the same time we rename the function toDataset.

2 Likes

Heh. I’m always typing that lowercase ‘s’ and then backing up. I’m sure I’ll keep backspacing long after I don’t need to.

2 Likes