函数
cudf::dictionary 命名空间参考

字典列 API。 更多...

函数

std::unique_ptr< encode (列视图 const &, 数据类型 indices_type=数据类型{type_id::INT32}, rmm::cuda_stream_view stream=cudf::get_默认流(), rmm::device_async_resource_ref mr=cudf::get_当前设备资源引用())
 通过对现有列进行字典编码来构造一个字典列。 更多...
 
std::unique_ptr< decode (字典列视图 const &dictionary_column, rmm::cuda_stream_view stream=cudf::get_默认流(), rmm::device_async_resource_ref mr=cudf::get_当前设备资源引用())
 通过使用给定 dictionary_column 的索引从该列的键中收集数据来创建一个新列。 更多...
 
std::unique_ptr< 标量get_index (字典列视图 const &dictionary, 标量 const &key, rmm::cuda_stream_view stream=cudf::get_默认流(), rmm::device_async_resource_ref mr=cudf::get_当前设备资源引用())
 返回给定键的索引值。 更多...
 
std::unique_ptr< add_keys (字典列视图 const &dictionary_column, 列视图 const &new_keys, rmm::cuda_stream_view stream=cudf::get_默认流(), rmm::device_async_resource_ref mr=cudf::get_当前设备资源引用())
 通过将新键元素添加到现有 dictionary_column 来创建一个新的字典列。 更多...
 
std::unique_ptr< remove_keys (字典列视图 const &dictionary_column, 列视图 const &keys_to_remove, rmm::cuda_stream_view stream=cudf::get_默认流(), rmm::device_async_resource_ref mr=cudf::get_当前设备资源引用())
 通过从现有 dictionary_column 中移除指定的键来创建一个新的字典列。 更多...
 
std::unique_ptr< remove_unused_keys (字典列视图 const &dictionary_column, rmm::cuda_stream_view stream=cudf::get_默认流(), rmm::device_async_resource_ref mr=cudf::get_当前设备资源引用())
 通过移除任何没有被索引引用的键来创建一个新的字典列。 更多...
 
std::unique_ptr< set_keys (字典列视图 const &dictionary_column, 列视图 const &keys, rmm::cuda_stream_view stream=cudf::get_默认流(), rmm::device_async_resource_ref mr=cudf::get_当前设备资源引用())
 通过仅将指定的键应用于现有 dictionary_column 来创建一个新的字典列。 更多...
 
std::vector< std::unique_ptr< > > match_dictionaries (cudf::host_span< 字典列视图 const > input, rmm::cuda_stream_view stream=cudf::get_默认流(), rmm::device_async_resource_ref mr=cudf::get_当前设备资源引用())
 创建新的字典,其键从输入字典合并而来。 更多...
 

详细描述

字典列 API。