DataFrame (like in R or Pandas) for C++

piokuc picture piokuc · Sep 30, 2014 · Viewed 11.6k times · Source

Is there a C++ library providing a data structure similar to DataFrame from R or Pandas? What I'm mostly interested in is:

  • data structure for tabular data, columns can be of different types (float, integer, string,...),
  • operations like selecting, filtering, merging, combining, grouping, etc.

Answer

Quant picture Quant · Apr 5, 2017

You can also check out the xtensor C++ library which has an API very close to that of numpy, and also handles missing values.

Bonus point: you can use it to edit numpy arrays inplace. http://xtensor.readthedocs.io/en/latest/.