Python Script to calculate a field based on an objectid

Discussion created by gus6177 on Oct 14, 2015
Latest reply on Oct 14, 2015 by jskinner-esristaff

I have a table like the one attached.  I’m trying to create a line segment from it that goes from 22.473 to 27.346 but they are on separate lines.  I need a
python script to calculate the to_measure from OBJECTID 1 equal to the to_measure from OBJECTID2.  Is this possible?