What is the xtensor equivalent of pandas `groupby`?

189 views Asked by At

What is the C++ xtensor library equivalent of pandas groupby? Or, how can I easily group a dataframe with C++ xtensor library?

1

There are 1 answers

2
Paul Brennan On

xtensor does what numpy does for python. The functionality in pandas is not replicated in xtensor.

Have you looked at boost.python as a method of binding the functionality together. This will allow you to get the c++ datastructures into the python framework and use the pandas groupby there.