looping thru pyDataset, is it possible to get current iteration(built-in)?
for row in pyDs:
dict={}
dict['rowIndex'] = <current iteration>
instances.append(dict)
looping thru pyDataset, is it possible to get current iteration(built-in)?
for row in pyDs:
dict={}
dict['rowIndex'] = <current iteration>
instances.append(dict)
Try something like this:
for index, row in enumerate(pyDs):
# ...
Awesome!