Thanks Rich for your extreme intelligence on the matter, like I said they serve different purposes. It seems that Riverside County Trans employees have lots of free time on their hands. Thanks for your service.
I see Summarize as more oriented towards ArcView Users while Frequency is more oriented towards ArcInfo users.
I did not recommend Frequency, because it requires an Advanced license while Summary Statistics is available with a Basic license, and in my opinion Summary Statistics can do everything Frequency can do and more. If the Summary Statistics/Frequency tool is used in Model Builder or a python script and you can script the response to duplicate values without user interaction you do not have to output a file if you output it to an in_memory table
Another cool sample that does a unique, but not necessarily a summarize is from the following help doc. This is nice because you don't have to output a table, you can see a unique list on screen, so in the end the frequency is better and more related to your question, but there is an output file. Sometimes a unique handles what you need, plus this is just a cool sample.http://resources.arcgis.com/en/help/main/10.2/index.html#//018w00000011000000import arcpyfc = "c:/data/base.gdb/well"field = "Diameter"# Use SearchCursor with list comprehension to return a# unique set of values in the specified field#values = [row[0] for row in arcpy.da.SearchCursor(fc, (field))]uniqueValues = set(values)print(uniqueValues)or uniqueValues = sorted(set(values))print(uniqueValues)
import arcpy fc = "c:/data/base.gdb/well" field = "Diameter" # Use SearchCursor with list comprehension to return a # unique set of values in the specified field # values = [row[0] for row in arcpy.da.SearchCursor(fc, (field))] uniqueValues = set(values) print(uniqueValues) or
uniqueValues = sorted(set(values)) print(uniqueValues)
working on a sewer project and assigning new names to about 1500 manholes. Is there a way to check my data to see if there are duplicate names that I have assigned? If so, can you point me in the right direction? Thanks
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.