DataFrame

C++ DataFrame for statistical, financial, and ML analysis in modern C++

What is DataFrame?

C++ DataFrame for statistical, financial, and ML analysis in modern C++

Overview of DataFrame

What it is

DataFrame is a high-performance C++ library for in-memory data exploration, transformation, and statistical analysis. It is designed for data scientists, quantitative traders, and C++ developers who need efficient tabular data processing without Python overhead. The library aims to provide similar functionalities to data manipulation and analysis tools found in other languages, such as Python's Pandas or R's data.frame. It supports any type, either built-in or user-defined, without requiring new code. The library avoids chasing pointers, keeps column data in contiguous memory space, and does not use more space than needed. It also avoids copying data as much as possible and uses multi-threading only when it makes sense. The library is self-contained, depending only on the C++ language and its standard library.

Key features

  • Supports any type (built-in or user-defined) without needing new code
  • Keeps all column data in contiguous memory space
  • Avoids copying data as much as possible
  • Uses multi-threading for large datasets
  • Includes a large collection of analytical algorithms (visitors) such as Mean, Stdev, Moving Averages, PCA, Polynomial Fit, FFT, Eigens, and trading indicators
  • Provides data slicing, joining, merging, group-by, cross tabulation, pivoting, multi-column sorting, custom pick and delete
  • Allows easy addition of custom algorithms

Use cases

DataFrame is suitable for statistical, financial, and machine learning analysis in modern C++. It can be used for in-memory data exploration, transformation, and analysis of large datasets. The library is particularly useful for quantitative trading, financial modeling, and any scenario requiring efficient tabular data processing without Python overhead.

Getting started

See the repository README for basic operations, Hello World, and Cheat Sheet. For a complete list of features with code samples, see the documentation.

License and pricing

The license is BSD-3-Clause. The library is open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/hosseinmoeindataframe.svg)](https://yunodb.com/tools/hosseinmoeindataframe?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/hosseinmoeindataframe?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/hosseinmoeindataframe.svg" alt="Featured on YunoDB" height="20"></a>