Skip to content

Create Data Table

Function Description

TIP

Create a data table (2D table)

Configuration Item Description

General

Command Input

  • Creation MethodInteger: Method of creating the data table

  • Content to Writestring: Supports two-dimensional list data and dictionaries, example: [["a","b","c"],[1,2,3]],

  • File Pathstring: Enter or select the file path

  • Sheet Namestring: If left blank, it defaults to the currently activated sheet.

  • Preview in Data TableBoolean: Preview in Data Table

  • Print Output Variable Value of the ComponentBoolean: After checking, the variable data or variable values generated by the component will be output and printed to the console log output

Command Output

  • Save Data Table ToTDataTable: Specify a variable to save the data table

Advanced

  • Encoding FormatInteger: If the data appears with garbled characters, set the encoding format. Generally use utf-8 for Excel files and gb18030 for CSV files.

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