Struct TableInfoData

(Latest Version)
struct TableInfoData

Simple structure which provides a general method for holding a cudf:table_view together with index and column names. Also provides slicing mechanics.

Public Functions

TableInfoData() = default

TableInfoData(cudf::table_view view, std::vector<std::string> indices, std::vector<std::string> columns)

TableInfoData get_slice(std::vector<std::string> column_names = {}) const

TableInfoData get_slice(cudf::size_type start, cudf::size_type stop, std::vector<std::string> column_names = {}) const

Public Members

cudf::table_view table_view

std::vector<std::string> index_names

std::vector<std::string> column_names

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.