find and average duplicate records python

679
1
04-29-2010 03:39 PM
aaronreyna
New Contributor
Hi,

I have a problem where I ran an intersect of a rotated polygon against it's unrotated polygon and due to tiny amounts of overlap with adjacent polygons, there are duplicate records. Has anyone found a way, or might point me in the direction of how to find those duplicate records and average the values associated with the row?

for example, if I have an FID associated with the original FID of the intersected shapefile [ORIG_FID_R], is there a way to sort the [ORIG_FID_R], and average all the values associated with that row?

or... any other suggestions would be appreciated!

stumped,

aaron
0 Kudos
1 Reply
DaleHoneycutt
Occasional Contributor III
Have you tried the Summary Statistics tool?  The field ORIG_FID_R would be your Case field.
0 Kudos