Can I rewrite the Python code below using da.UpdateCursor ? I could not find an equivalent setValue() method for da.UpdateCursor to make the changes.
i = 0
fields= ['LastName','FirstName']
values= ['Jensen','Parky']rows = arcpy.UpdateCursor(table, where)
for row in rows:
while (i < len(fields)):
row.setValue(fields, values)
i += 1rows.updateRow(row)
del rows, row
Are there any arcpy methods to return the index of tableName.fieldName that we can plug into row[index] when using da.UpdateCursor?
Katie