user72726
user72726

Reputation: 155

What is the xtensor equivalent of pandas `groupby`?

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

Upvotes: 1

Views: 206

Answers (1)

Paul Brennan
Paul Brennan

Reputation: 2706

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.

Upvotes: 1

Related Questions