cudf.Series.tile#

Series.tile(count)[source]#

Repeats the rows count times to form a new Frame.

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

Examples

>>> import cudf
>>> df  = cudf.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