25 namespace CUDF_EXPORT
cudf {
168 [[deprecated]] std::unique_ptr<column>
replace(
An owning class to represent a string in device memory.
Given a column-view of strings type, an instance of this class provides a wrapper on this compound co...
Class definition for cudf::column.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
cuda::mr::async_resource_ref< cuda::mr::device_accessible > device_async_resource_ref
device_memory_resource * get_current_device_resource()
std::unique_ptr< column > replace_slice(strings_column_view const &input, string_scalar const &repl=string_scalar(""), size_type start=0, size_type stop=-1, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
This function replaces each string in the column with the provided repl string within the [start,...
std::unique_ptr< column > replace_multiple(strings_column_view const &input, strings_column_view const &targets, strings_column_view const &repls, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Replaces substrings matching a list of targets with the corresponding replacement strings.
std::unique_ptr< column > replace(strings_column_view const &input, strings_column_view const &targets, strings_column_view const &repls, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Replaces substrings matching a list of targets with the corresponding replacement strings.
int32_t size_type
Row index type for columns and tables.
Class definitions for cudf::scalar.
Class definition for cudf::strings_column_view.