convert_floats#
- pylibcudf.strings.convert.convert_floats.from_floats(Column floats) Column #
Returns a new strings column converting the float values from the provided column into strings.
For details, see cpp:func:cudf::strings::from_floats
- Parameters:
- floatsColumn
Numeric column to convert.
- Returns:
- Column
New strings column with floats as strings.
- pylibcudf.strings.convert.convert_floats.is_float(Column input) Column #
Returns a boolean column identifying strings in which all characters are valid for conversion to floats.
For details, see cpp:func:cudf::strings::is_float
- Parameters:
- inputColumn
Strings instance for this operation.
- Returns:
- Column
New column of boolean results for each string.
- pylibcudf.strings.convert.convert_floats.to_floats(Column strings, DataType output_type) Column #
Returns a new numeric column by parsing float values from each string in the provided strings column.
For details, see cpp:func:cudf::strings::to_floats
- Parameters:
- stringsColumn
Strings instance for this operation.
- output_typeDataType
Type of float numeric column to return.
- Returns:
- Column
New column with floats converted from strings.