filling#

pylibcudf.filling.calendrical_month_sequence(size_type n, Scalar init, size_type months) 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

Returns:
pylibcudf.Column

Timestamps column with sequences of months

pylibcudf.filling.fill(Column destination, size_type begin, size_type end, Scalar value) 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.

Returns:
pylibcudf.Column

The result of the filling operation

pylibcudf.filling.fill_in_place(Column destination, size_type begin, size_type end, Scalar value) 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.

Returns:
None
pylibcudf.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

Returns:
pylibcudf.Table

The result of the repeat operation

pylibcudf.filling.sequence(size_type size, Scalar init, Scalar step) 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

Returns:
pylibcudf.Column

The result of the sequence operation