Namespaces | Enumerations | Functions
stream_compaction.hpp File Reference

Column APIs for filtering rows. More...

#include <cudf/types.hpp>
#include <memory>
#include <vector>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 

Enumerations

enum  cudf::duplicate_keep_option { cudf::duplicate_keep_option::KEEP_FIRST = 0, cudf::duplicate_keep_option::KEEP_LAST, cudf::duplicate_keep_option::KEEP_NONE }
 Choices for drop_duplicates API for retainment of duplicate rows. More...
 

Functions

std::unique_ptr< table > cudf::drop_nulls (table_view const &input, std::vector< size_type > const &keys, cudf::size_type keep_threshold, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Filters a table to remove null elements with threshold count. More...
 
std::unique_ptr< table > cudf::drop_nulls (table_view const &input, std::vector< size_type > const &keys, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Filters a table to remove null elements. More...
 
std::unique_ptr< table > cudf::drop_nans (table_view const &input, std::vector< size_type > const &keys, cudf::size_type keep_threshold, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Filters a table to remove NANs with threshold count. More...
 
std::unique_ptr< table > cudf::drop_nans (table_view const &input, std::vector< size_type > const &keys, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Filters a table to remove NANs. More...
 
std::unique_ptr< table > cudf::apply_boolean_mask (table_view const &input, column_view const &boolean_mask, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Filters input using boolean_mask of boolean values as a mask. More...
 
std::unique_ptr< table > cudf::unique (table_view const &input, std::vector< size_type > const &keys, duplicate_keep_option keep, null_equality nulls_equal=null_equality::EQUAL, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Create a new table with consecutive duplicate rows removed. More...
 
std::unique_ptr< table > cudf::distinct (table_view const &input, std::vector< size_type > const &keys, null_equality nulls_equal=null_equality::EQUAL, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Create a new table without duplicate rows. More...
 
cudf::size_type cudf::unique_count (column_view const &input, null_policy null_handling, nan_policy nan_handling)
 Count the number of consecutive groups of equivalent rows in a column. More...
 
cudf::size_type cudf::unique_count (table_view const &input, null_equality nulls_equal=null_equality::EQUAL)
 Count the number of consecutive groups of equivalent rows in a table. More...
 
cudf::size_type cudf::distinct_count (column_view const &input, null_policy null_handling, nan_policy nan_handling)
 Count the distinct elements in the column_view. More...
 
cudf::size_type cudf::distinct_count (table_view const &input, null_equality nulls_equal=null_equality::EQUAL)
 Count the distinct rows in a table. More...
 

Detailed Description

Column APIs for filtering rows.

Definition in file stream_compaction.hpp.