hipdf.Series.tile

Contents

hipdf.Series.tile#

20 min read time

Applies to Linux

Series.tile(count)#

Repeats the rows count times to form a new Frame.

Parameters#

self : input Table containing columns to interleave. count : Number of times to tile “rows”. Must be non-negative.

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

Returns#

The indexed frame containing the tiled “rows”.