Namespaces | Functions
transform.hpp File Reference

Column APIs for transforming rows. More...

#include <cudf/ast/expressions.hpp>
#include <cudf/types.hpp>
#include <memory>

Go to the source code of this file.


 cuDF interfaces


std::unique_ptr< column > cudf::transform (column_view const &input, std::string const &unary_udf, data_type output_type, bool is_ptx, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Creates a new column by applying a unary function against every element of an input column. More...
std::pair< std::unique_ptr< rmm::device_buffer >, size_type > cudf::nans_to_nulls (column_view const &input, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Creates a null_mask from input by converting NaN to null and preserving existing null values and also returns new null_count. More...
std::unique_ptr< column > cudf::compute_column (table_view const &table, ast::expression const &expr, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Compute a new column by evaluating an expression tree on a table. More...
std::pair< std::unique_ptr< rmm::device_buffer >, cudf::size_typecudf::bools_to_mask (column_view const &input, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Creates a bitmask from a column of boolean elements. More...
std::pair< std::unique_ptr< cudf::table >, std::unique_ptr< cudf::column > > cudf::encode (cudf::table_view const &input, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Encode the rows of the given table as integers. More...
std::pair< std::unique_ptr< column >, table_view > cudf::one_hot_encode (column_view const &input, column_view const &categories, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Encodes input by generating a new column for each value in categories indicating the presence of that value in input. More...
std::unique_ptr< column > cudf::mask_to_bools (bitmask_type const *bitmask, size_type begin_bit, size_type end_bit, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Creates a boolean column from given bitmask. More...
std::unique_ptr< column > cudf::row_bit_count (table_view const &t, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Returns an approximate cumulative size in bits of all columns in the table_view for each row. More...

Detailed Description

Column APIs for transforming rows.

Definition in file transform.hpp.