I would like to write a script where I select a layer by the [District] attribute and loop through the field [PickUpDate] to get the count per district per month. My month format is m/d/yyyy, i.e. 1/2/2015.Below I select the district in the Table View, I could easily use GetCount to get the total for my selection, but I need the count per month per District
Example:
alayer = 'PickUpColumns_12_1_2015_dups1'hbclause = "[District] = 'HB'"arcpy.SelectLayerByAttribute_management(alayer,"NEW_SELECTION",hbclause)
أكثر...
Example:
alayer = 'PickUpColumns_12_1_2015_dups1'hbclause = "[District] = 'HB'"arcpy.SelectLayerByAttribute_management(alayer,"NEW_SELECTION",hbclause)
أكثر...