I have a point shapefile that have two attributes that I want to extract from them. These two fields are "Group" and "Distance"
I want to grab the maximum "distance" from each unique number in the field "group".

I was wondering if any knew of a method of using arcpy searchcursor to find this max value? Writing something like
rows = arcpy.SearchCursor(input)
Counter = 0
for row in rows:
if row.NEAR_DIST > Counter:
Counter = row.NEAR_DIST
will only give me the max value of the entire dataset as a whole? Any ideas?