命名空间 | 枚举 | 函数
round.hpp 文件参考

round 的列 API。更多...

#include <cudf/column/column.hpp>
#include <cudf/utilities/default_stream.hpp>
#include <cudf/utilities/export.hpp>
#include <cudf/utilities/memory_resource.hpp>

转到此文件的源代码。

命名空间

 cudf
 cuDF 接口
 

枚举

enum class  cudf::rounding_method : int32_t { HALF_UP , HALF_EVEN }
 cudf::round 的不同舍入方法。更多...
 

函数

std::unique_ptr< column > cudf::round (column_view const &input, int32_t decimal_places=0, rounding_method method=rounding_method::HALF_UP, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
 将列中的所有值四舍五入到指定的小数位数。更多...
 

详细描述

round 的列 API。

定义在文件 round.hpp 中。