How do you format the frequency fields when using ESRI.ArcGIS.AnalysisTools.Frequency with a gp.Execute?
Try this way
"[" & field1 & ", " & field2 & "]"
When I build code for Geoprocessing tools, I would also check the documentation to see how it's constructed in python, then mimic that behavior.
For the Frequency tool, it's looking for this syntax
arcpy.Frequency_analysis("taxlots", "C:/output/output.gdb/tax_frequency", ["YEARBUILT", "COUNTY"], ["LANDVAL", "BLDGVAL", "TOTALVAL"])
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.