write multiple statistics analysis into the same output file with arcpy

المشرف العام

Administrator
طاقم الإدارة
How can I add multiple stats from the arcpy.Statistics_analysis to a single output file. Can I create a text file instead of a table ?

Using one of the examples in help.arcgis, if I add other stat analysis, what is the best way to work with the output?

import arcpy from arcpy import env env.workspace = "C:/data/Habitat_Analysis.gdb" arcpy.Statistics_analysis("futrds", "C:/output/output.gdb/stats1", [["Shape_Length", "SUM"]], "NM") arcpy.Statistics_analysis("futrds", "C:/output/output.gdb/stats2", [["Shape_Length", "MEAN"]], "NM") arcpy.Statistics_analysis("futrds", "C:/output/output.gdb/stats3", [["Shape_Length", "STD"]], "NM")

أكثر...
 
أعلى