reshape#

pylibcudf.reshape.interleave_columns(Table source_table) Column#

Interleave columns of a table into a single column.

Converts the column major table input into a row major column.

Example: in = [[A1, A2, A3], [B1, B2, B3]] return = [A1, B1, A2, B2, A3, B3]

For details, see interleave_columns().

Parameters:
source_table: Table

The input table to interleave

Returns:
Column

A new column which is the result of interleaving the input columns

pylibcudf.reshape.tile(Table source_table, size_type count) Table#

Repeats the rows from input table count times to form a new table.

For details, see tile().

Parameters:
source_table: Table

The input table containing rows to be repeated

count: size_type

The number of times to tile “rows”. Must be non-negative

Returns:
Table

The table containing the tiled “rows”