命名空间 | 函数
convert_durations.hpp 文件参考
#include <cudf/column/column.hpp>
#include <cudf/strings/strings_column_view.hpp>
#include <cudf/utilities/memory_resource.hpp>

转到此文件的源代码。

命名空间

 cudf
 cuDF 接口
 
 cudf::strings
 字符串列 API。
 

函数

std::unique_ptr< column > cudf::strings::to_durations (strings_column_view const &input, data_type duration_type, std::string_view format, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
 返回一个新的 duration 列,使用提供的格式模式将 strings 列转换为 durations。 更多信息...
 
std::unique_ptr< column > cudf::strings::from_durations (column_view const &durations, std::string_view format="%D days %H:%M:%S", rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
 返回一个新的 strings 列,使用提供的格式模式将 duration 列转换为字符串。 更多信息...