cudf.DataFrame.tile#

DataFrame.tile(count)#

Repeats the rows from self DataFrame count times to form a new DataFrame.

Parameters
selfinput Table containing columns to interleave.
countNumber of times to tile “rows”. Must be non-negative.
Returns
The table containing the tiled “rows”.

Examples

>>> df  = Dataframe([[8, 4, 7], [5, 2, 3]])
>>> count = 2
>>> df.tile(df, count)
   0  1  2
0  8  4  7
1  5  2  3
0  8  4  7
1  5  2  3