Login
Back to bricks list
Introduction Version

TableConcatHelper

Functions

CONCAT_TABLE_COLUMNS - @classmethod

Concatenate two tables along the columns. The total number of columns will be the sum of the two tables. The total number of rows will depend if the two table have common rows (based on name). If the two table have the same row (based on name), the values of theses rows are concatenated starting from the first table into the same row.

If a row doesn't exist in the other table, it will be concatenate with value provided in fill_nan.

Parameters:
NameTypeDefault valueDescription
tablesList List of tables to concatenate
row_tags_optionLiteral ignore
fill_nanAny nan
Return type:
Table
CONCAT_TABLE_ROWS - @classmethod

Concatenate two tables along the rows. The total number of rows will be the sum of the two tables. The total number of columns will depend if the two table have common columns (based on name). If the two table have the same column (based on name), the values of theses columns are concatenated starting from the first table into the same column.

If a column doesn't exist in the other table, it will be concatenate with value provided in fill_nan.

Parameters:
NameTypeDefault valueDescription
tablesList
column_tags_optionLiteral ignore Option for the columns tags, defaults to 'ignore' tableconcatoppositetagoption, optional
fill_nanAny nan
Return type:
Table