AnsweredAssumed Answered

Adding sequential number according to change value of next field using ArcPy

Question asked by echo119 on Mar 15, 2016
Latest reply on Mar 15, 2016 by echo119

My goal is to create and fill data like (Field 3) from (Field 1) using the Field Calculator.

 

I was able to assigning sequential numbers using ArcPy code out there, but it gave me results of (Field 2).

 

I assume I need double loop to achieve the result of (Field 3), but the problem is I'm not familiar with ArcPy at all.

 

It would be great if you help me out with ArcPy or even point the sample code I can look at.

 

Thanks!

 

AK

 

 

Field 1Field 2Field 3
111
122
133
144
251
262
371
382
393
3104

Outcomes