Struct IDataTable#
Defined in File data_table.hpp
Inheritance Relationships#
Base Type#
public std::enable_shared_from_this< IDataTable >
Derived Type#
public morpheus::PyDataTable(Struct PyDataTable)
Struct Documentation#
-
struct IDataTable : public std::enable_shared_from_this<IDataTable>#
Owning object which owns a unique_ptr<cudf::table>, table_metadata, and index information Why this doesn’t exist in cudf is beyond me.
Subclassed by morpheus::PyDataTable
Unnamed Group
-
TableInfo get_info() const#
Gets a read-only instance of
TableInfowhich can be used to query and update the table from both C++ and Python. This will block calls toget_mutable_infountil allTableInfoobject have been destroyed.Note
Read-only refers to changes made to the structure of a DataFrame. i.e. Adding/Removing columns, changing column, types, adding/removing rows, etc. It’s possible to update an existing range of data in a column with
TableInfo.- Returns:
Unnamed Group
-
MutableTableInfo get_mutable_info() const#
Gets a writable instance of
MutableTableInfowhich can be used to modify the structure of the table from both C++ and Python. This requires exclusive access to the underlyingIDataTableand will block until allTableInfoandMutableTableInfoobjects have been destroyed. This class also provides direct access to the underlying python object.Note
Read-only refers to changes made to the structure of a DataFrame. i.e. Adding/Removing columns, changing column, types, adding/removing rows, etc. It’s possible to update an existing range of data in a column with
TableInfo.- Returns:
Public Functions
-
IDataTable() = default#
Construct a new IDataTable object.
-
virtual ~IDataTable() = default#
-
virtual cudf::size_type count() const = 0#
cuDF dataframe rows count.
- Returns:
cudf::size_type
-
virtual const pybind11::object &get_py_object() const = 0#
Direct access to the underlying python object. Use only when absolutely necessary.
get_mutable_info()provides better checking when using the python object directly.- Returns:
const pybind11::object&
-
TableInfo get_info() const#