Export Segmentation Profile (Business Analyst)

获得 Business Analyst 许可后可用。

摘要

Exports a segmentation profile to a table.

使用情况

  • An existing segmentation profile that was built with a locally installed Business Analyst dataset is required. This dataset must be set as the Business Analyst data source in order 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)

      If you want to use your exported table in Excel, you can open the dBASE or text files in that application and then save to the XLSX format. Alternatively, you can use the Table to Excel tool and set your 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 to export.

File
Output Table

The name of the table to be created.

Table

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

The segmentation file to export.

File
out_table_name

The name of the table to be created.

Table

代码示例

ExportSegmentationProfile example (Python window)

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

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

许可信息

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

相关主题