Skip to content

DataTable#

A data table containing all data acquired during project execution


property column_count#

Gets the count of the columns in the data table.

Returns#

Type Description
int The count of the columns in the data table.

Example#

Prints out the column count for every test of a data export

for test in data_export.tests:
    data_table = test.data_table
    print(data_table.column_count)

property last_measurement_index#

Gets the index of the measurement run for which the last data was recorded in this data table.

Returns#

Type Description
int The index of the measurement run for which the last data was recorded in this data table.

property row_count#

Gets the count of the rows in the data table.

Returns#

Type Description
int The count of the rows in the data table.

Example#

Prints out the row count for every test of a data export

for test in data_export.tests:
    data_table = test.data_table
    print(data_table.row_count)

method get_parameter(parameter_index: int)#

Returns the test parameter with the specified index.

Parameters#

Name Description
parameter_index The index of the parameter.

Returns#

Type Description
TestParameter The test parameter.

method get_parameter_caption(parameter_index: int)#

Returns the caption of the test parameter with the specified index.

Parameters#

Name Description
parameter_index The index of the parameter.

Returns#

Type Description
str The caption of the test parameter.

method get_row(row_index: int)#

Returns the row of the data table with the specified index.

Parameters#

Name Description
row_index The index of the row.

Returns#

Type Description
DataTableRow The data table row.