filling#

2026-03-11

20 min read time

Applies to Linux

pylibhipdf.filling.fill(Column destination, size_type begin, size_type end, Scalar value, Stream stream=None) Column#

Fill destination column from begin to end with value.

For details, see fill().

Parameters#

destinationColumn

The column to be filled

beginsize_type

The index to begin filling from.

endsize_type

The index at which to stop filling.

valueScalar

The value to fill with.

streamStream | None

CUDA stream on which to perform the operation.

Returns#

pylibcudf.Column

The result of the filling operation

pylibhipdf.filling.fill_in_place(Column destination, size_type begin, size_type end, Scalar value, Stream stream=None) void#

Fill destination column in place from begin to end with value.

For details, see fill_in_place().

Parameters#

destinationColumn

The column to be filled

beginsize_type

The index to begin filling from.

endsize_type

The index at which to stop filling.

valueScalar

The value to fill with.

streamStream | None

CUDA stream on which to perform the operation.

Returns#

None

pylibhipdf.filling.repeat(signatures, args, kwargs, defaults, _fused_sigindex={})#

Repeat rows of a Table.

If an integral value is specified for count, every row is repeated count times. If count is a column, the number of repetitions of each row is defined by the value at the corresponding index of count.

For details, see repeat().

Parameters#

input_tableTable

The table to be repeated

countUnion[Column, size_type]

Integer value to repeat each row by or non-nullable column of an integral type

streamStream | None

CUDA stream on which to perform the operation.

Returns#

pylibcudf.Table

The result of the repeat operation

pylibhipdf.filling.sequence(size_type size, Scalar init, Scalar step, Stream stream=None) Column#

Create a sequence column of size size with initial value init and step step.

For details, see sequence().

Parameters#

sizeint

The size of the sequence

initScalar

The initial value of the sequence

stepScalar

The step of the sequence

streamStream | None

CUDA stream on which to perform the operation.

Returns#

pylibcudf.Column

The result of the sequence operation

pylibhipdf.filling.calendrical_month_sequence(size_type n, Scalar init, size_type months, Stream stream=None) Column#

Fill destination column from begin to end with value.

For details, see calendrical_month_sequence().

Parameters#

nsize_type

Number of timestamps to generate

initScalar

The initial timestamp

monthssize_type

Months to increment

streamStream | None

CUDA stream on which to perform the operation.

Returns#

pylibcudf.Column

Timestamps column with sequences of months