I'm very new to Python and scripting in ArcGIS. I need to calculate some cells from one field in table into another one cell in another field in same table.
Here's what i need:
Here's what i try and it doesnt work.
A = arcpy.da.SearchCursor("S2_merge2", ["Name1"] , 'FID = 0')
B = arcpy.da.SearchCursor("S2_merge2", ["Name1"] , 'FID = 1')
C = arcpy.da.SearchCursor("S2_merge2", ["Name1"] , 'FID = 2')cursor = arcpy.da.UpdateCursor("S2_merge2", ["Name5"] , FID = 0')
for row in cursor: row[0] = A+B+C cursor.updateRow(row)