Column APIs for transforming rows. More...
#include <cudf/ast/expressions.hpp>
#include <cudf/types.hpp>
#include <cudf/utilities/export.hpp>
#include <rmm/mr/device/per_device_resource.hpp>
#include <rmm/resource_ref.hpp>
#include <memory>
Go to the source code of this file.
Namespaces | |
cudf | |
cuDF interfaces | |
Functions | |
std::unique_ptr< column > | cudf::transform (column_view const &input, std::string const &unary_udf, data_type output_type, bool is_ptx, rmm::device_async_resource_ref 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::device_async_resource_ref 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::device_async_resource_ref 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_type > | cudf::bools_to_mask (column_view const &input, rmm::device_async_resource_ref 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::device_async_resource_ref 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::device_async_resource_ref 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::device_async_resource_ref 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::device_async_resource_ref 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... | |
std::unique_ptr< column > | cudf::segmented_row_bit_count (table_view const &t, size_type segment_length, rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource()) |
Returns an approximate cumulative size in bits of all columns in the table_view for each segment of rows. More... | |
Column APIs for transforming rows.
Definition in file transform.hpp.