Struct CudfHelper

struct CudfHelper

These proxy functions allow us to have a shared set of cudf_helpers interfaces declarations, which proxy the actual generated cython calls. The cython implementation in ‘cudf_helpers_api.h’ can only appear in the translation unit for the pybind module declaration. These functions should be considered de.

Public Functions

__attribute__((visibility("default"))) static void load()

Public Static Functions

static pybind11::object table_from_table_with_metadata(cudf::io::table_with_metadata &&table, int index_col_count)

Converts a C++ table to a Python DataTable object.

Parameters
  • table – C++ table with metadata

  • index_col_count – Number of index columns in the table_with_metadata

Returns

pybind11::object

static pybind11::object table_from_table_info(const morpheus::TableInfoBase &table_info)

Converts a C++ TableInfo (which is a view into a python table) into a Python DataTable object.

Parameters

table_info – C++ table view

Returns

pybind11::object

static TableInfoData table_info_data_from_table(pybind11::object table)

Converts a Python DataTable object into a C++ TableInfoData struct containing the column and index information.

Parameters

table – A Python DataTable instance

Returns

TableInfoData

Previous Struct CudaError
Next Struct CuDFTableUtil
© Copyright 2023, NVIDIA. Last updated on Feb 2, 2024.