Modules | |
Case | |
Character Types | |
Combining | |
Searching | |
Converting | |
Copying | |
Slicing | |
Finding | |
Modifying | |
Replacing | |
Splitting | |
Extracting | |
Regex | |
Files | |
file | attributes.hpp |
Read attributes of strings column. | |
Functions | |
std::unique_ptr< column > | cudf::strings::count_characters (strings_column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Returns a column containing character lengths of each string in the given column. More... | |
std::unique_ptr< column > | cudf::strings::count_bytes (strings_column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Returns a column containing byte lengths of each string in the given column. More... | |
std::unique_ptr< column > | cudf::strings::code_points (strings_column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Creates a numeric column with code point values (integers) for each character of each string. More... | |
std::unique_ptr<column> cudf::strings::code_points | ( | strings_column_view const & | input, |
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::device_async_resource_ref | mr = cudf::get_current_device_resource_ref() |
||
) |
Creates a numeric column with code point values (integers) for each character of each string.
A code point is the integer value representation of a character. For example, the code point value for the character 'A' in UTF-8 is 65.
The size of the output column will be the total number of characters in the strings column.
Any null string is ignored. No null entries will appear in the output column.
input | Strings instance for this operation |
stream | CUDA stream used for device memory operations and kernel launches |
mr | Device memory resource used to allocate the returned column's device memory |
std::unique_ptr<column> cudf::strings::count_bytes | ( | strings_column_view const & | input, |
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::device_async_resource_ref | mr = cudf::get_current_device_resource_ref() |
||
) |
Returns a column containing byte lengths of each string in the given column.
The output column will have the same number of rows as the specified strings column. Each row value will be the number of bytes in the corresponding string.
Any null string will result in a null entry for that row in the output column.
input | Strings instance for this operation |
stream | CUDA stream used for device memory operations and kernel launches |
mr | Device memory resource used to allocate the returned column's device memory |
std::unique_ptr<column> cudf::strings::count_characters | ( | strings_column_view const & | input, |
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::device_async_resource_ref | mr = cudf::get_current_device_resource_ref() |
||
) |
Returns a column containing character lengths of each string in the given column.
The output column will have the same number of rows as the specified strings column. Each row value will be the number of characters in the corresponding string.
Any null string will result in a null entry for that row in the output column.
input | Strings instance for this operation |
stream | CUDA stream used for device memory operations and kernel launches |
mr | Device memory resource used to allocate the returned column's device memory |