Skip to content

Modify Row and Column Names

Function Description

TIP

Modify the row and column names of a data table

Configuration Item Description

General

Command Input

  • Data Table ObjectTDataTable: The variable returned by the 'Create Data Table' component can be used here.

  • Modification MethodInteger: Supports modifying all header names of the data table at once or only part of them.

  • New Row Namesstring: Enter a list with the same length as the original row names. When [], the original row name will not be modified. For example, [Row Name 1, Row Name 2]. The default row name is the first element of each row in the data table.

  • New Column Namesstring: Enter a list with the same length as the original column names. When [], the original column name will not be modified. For example, [Column Name 1, Column Name 2].

  • Modify Row Namesstring: Enter the original row name and new row name. For example,

  • Modify Column Namesstring: Enter the original and new column names. For example,

  • Preview in Data TableBoolean: Preview in Data Table

  • Print Component Output Variable ValueBoolean: Check to output the variable data or value generated by the component during runtime, and print it to the console log.

Command Output

  • Modification ResultTDataTable: The data table after modifying row and column names

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None