The grouped data corresponding to a groupby operation on a set of values. More...
#include <groupby.hpp>
Public Attributes | |
std::unique_ptr< table > | keys |
Table of grouped keys. | |
std::vector< size_type > | offsets |
Group Offsets. | |
std::unique_ptr< table > | values |
Table of grouped values. | |
The grouped data corresponding to a groupby operation on a set of values.
A groups
object holds two tables of identical number of rows: a table of grouped keys and a table of grouped values. In addition, it holds a vector of integer offsets into the rows of the tables, such that offsets[i+1] - offsets[i]
gives the size of group i
.
Definition at line 314 of file groupby.hpp.