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.

Синтаксис

arcpy.ba.ExportSegmentationProfile(in_profile, out_table_name)
ParameterОбъяснениеТип данных
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

Связанные разделы