Export Segmentation Profile (Business Analyst)

Available with Business Analyst license.

Summary

Exports a segmentation profile to a table.

Usage

  • 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.

Syntax

arcpy.ba.ExportSegmentationProfile(in_profile, out_table_name)
ParameterExplanationData Type
in_profile

The segmentation file to export.

File
out_table_name

The name of the table to be created.

Table

Code sample

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")

Licensing information

  • Basic: Requires Business Analyst
  • Standard: Requires Business Analyst
  • Advanced: Requires Business Analyst

Related topics