Hello,
I have want to create geodatabase table from geodatabase feature class. i have the following codes
Occurances = []
with arcpy.da.SearchCursor (fc, field) as cursor:
for row in cursor:
Occurances.append (row[0])
for i in set(Occurances):
icount = Occurances.count(i)
print (str(i) + ":", icount)
but instead of printing i really want to create a table using python that shows item name and the number of times in appears in the the feature class. any help would be very much appreciated. thanks