Export Segmentation Profile (Business Analyst)

获得 Business Analyst 许可后可用。

摘要

Exports a segmentation profile to a table.

使用情况

  • An existing segmentation profile that was built with a locally stored or installed dataset is required. This dataset must be set as the Business Analyst data source to complete the export process. If the source Business Analyst dataset is unavailable, you can export to a table by opening the profile from the Catalog pane and clicking the Export button.

  • The output table will only contain the Total Volume and Average Volumetric fields if the input profile was created with volumetric information.

  • You can export profiles to the following tabular formats:

    • Geodatabase
    • Database
    • Feature class attribute table
    • dBASE
    • Text, ASCII, and comma-separated values files (.csv)

      To use the exported table in Excel, open the dBASE or text files in Excel and save them to the XLSX format. Alternatively, you can use the Table to Excel tool and set the exported profile as the input table.

  • Exported tables can be brought back into ArcGIS Pro for use in target marketing provided no additional columns were added. This process can be completed using the Import Segmentation Profile tool.

参数

标注说明数据类型
Input Profile

The segmentation file that will be exported.

File
Output Table

The name of the table that will be created.

Table

arcpy.ba.ExportSegmentationProfile(in_profile, out_table_name)
名称说明数据类型
in_profile

The segmentation file that will be exported.

File
out_table_name

The name of the table that will be created.

Table

代码示例

ExportSegmentationProfile example (Python window)

The following Python window script demonstrates how to use the ExportSegmentationProfile function.

import arcpy
arcpy.ba.ExportSegmentationProfile("Input Profile",r"C:\Users\MyProject\SegmentationProfile")

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题