convert_fixed_point#

pylibcudf.strings.convert.convert_fixed_point.from_fixed_point(Column input) Column#

Returns a new strings column converting the fixed-point values into a strings column.

For details, see cudf::strings::from_fixed_point()

Parameters:
inputColumn

Fixed-point column to convert.

Returns:
Column

New strings column.

pylibcudf.strings.convert.convert_fixed_point.is_fixed_point(Column input, DataType decimal_type=None) Column#

Returns a boolean column identifying strings in which all characters are valid for conversion to fixed-point.

For details, see cudf::strings::is_fixed_point()

Parameters:
inputColumn

Strings instance for this operation.

decimal_typeDataType

Fixed-point type (with scale) used only for checking overflow. Defaults to Decimal64

Returns:
Column

New column of boolean results for each string.

pylibcudf.strings.convert.convert_fixed_point.to_fixed_point(Column input, DataType output_type) Column#

Returns a new fixed-point column parsing decimal values from the provided strings column.

For details, see cudf::strings::to_fixed_point()

Parameters:
inputColumn

Strings instance for this operation.

output_typeDataType

Type of fixed-point column to return including the scale value.

Returns:
Column

New column of output_type.