Skip to content

Delete Rows or Columns

Function Description

TIP

Delete specified rows or columns from the data table

Configuration Item Description

General

Command Input

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

  • Deletion MethodInteger: Row names and column names are specific headers in the data table. Row numbers and column numbers are integer row and column indices in the data table.

  • Delete Rows/ColumnsInteger: Delete Rows/Columns

  • Rows to Deletestring: Supports single or multiple rows, example: [Row Name] or [Row Name 1,Row Name 2,Row Name 3]. The default row name is the first element of each row in the data table.

  • Columns to Deletestring: Supports single or multiple columns, example: [Column Name] or [Column Name 1,Column Name 2,Column Name 3]

  • Row Numbers to Deletestring: Supports single or multiple rows, example: [1] or [1,2,3]

  • Column Numbers to Deletestring: Supports single or multiple columns, example: [1] or [1,2,3]

  • 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

  • Result after DeletionTDataTable: The data table after deleting rows/columns.

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