DataFrame Instance Public Types | Description |
---|---|
View |
A DataFrame view. This is a view on a contiguous slice of another DataFrane of the same type. You can read and change data in this view. |
ConstView |
A const DataFrame view. This is a view on a contiguous slice of another DataFrane of the same type. This is a read-only view. |
PtrView |
A DataFrame view. This is a view on a disjoined slice of another DataFrane of the same type. You can read and change data in this view. |
ConstPtrView |
A const DataFrame view. This is a view on a disjoined slice of another DataFrane of the same type. This is a read-only view. |
align_value |
An integer value specifying the byte alignment boundary in memory allocation for the DataFrame type. |
template<typename T> AllocatorType |
Type of allocator used to allocate memory for this type of DataFrame. It is either std::allocator or a custom allocator to allocate memory on custom byte boundaries. |
size_type |
std::size_t |
IndexType |
Index column type for this DataFrame |
IndexVecType |
Type of vector used for the index column. It is either a std::vector or one of the vector views depending on whether this is a DataFrame or a DataFrame view. Also, the allocator depends on the align_value. |
template<typename T> ColumnVecType |
Type of vector used for data columns. It is either a std::vector or one of the vector views depending on whether this is a DataFrame or a DataFrame view. Also, the allocator depends on the align_value. |
template<typename T> StlVecType |
An stl::vector type with an allocator that is compatible with this DataFrame type. |
Library-wide Types | Description |
template<typename I> StdDataFrame |
A DataFrame with index type I that uses system default byte boundary for memory allocations. |
template<typename I> StdDataFrame64 |
A DataFrame with index type I that uses 64 bytes boundary for memory allocations. |
template<typename I> StdDataFrame128 |
A DataFrame with index type I that uses 128 bytes boundary for memory allocations. |
template<typename I> StdDataFrame256 |
A DataFrame with index type I that uses 256 bytes boundary for memory allocations. |
template<typename I> StdDataFrame512 |
A DataFrame with index type I that uses 512 bytes boundary for memory allocations. |
template<typename I> StdDataFrame1024 |
A DataFrame with index type I that uses 1024 bytes boundary for memory allocations. |
template<typename T> struct Index2D { T begin {}; T end {}; }; |
It represents a range with begin and end within a continuous memory space |
DF_INDEX_COL_NAME |
A const char * name referring to the index column in general. |
DataFrame Exceptions | Description |
struct DataFrameError{ } |
It is derived from std::runtime_error. It is the base of all DataFrame exceptions. It might be also thrown in cases where other exceptions may not be applicable. |
struct BadRange{ } |
It is derived from DataFrameError. It might be thrown in cases where the query is asking for out-of-range data. For example, when you try to access data or index column that is out of range. |
struct ColNotFound{ } |
It is derived from DataFrameError. It might be thrown in cases where the operation is asking for non-existent column. |
struct InconsistentData{ } |
It is derived from DataFrameError. It might be thrown in cases where data is inconsistent. For example, when you are trying to populate a collumn with a data vector that is longer than the index column. |
struct NotFeasible{ } |
It is derived from DataFrameError. It might be thrown in cases where the operation is not feasible. For example, asking to interpolate missing data in a string column. |
struct NotImplemented{ } |
It is derived from DataFrameError. It might be thrown in cases where the operation is not yet implemented. |