Search code examples
c++data-structuresdata-analysis

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


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.

Solution

  • 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/.