hosseinmoein / DataFrame

C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage
https://hosseinmoein.github.io/DataFrame/
BSD 3-Clause "New" or "Revised" License
2.46k stars 310 forks source link

[Feature Request] to_eigen() that convert numeric columns to eigen matrix. #179

Closed kilasuelika closed 2 years ago

kilasuelika commented 2 years ago

Eigen is heavily used in numeric analysis applications. If there is a to_eigen() method then it will be much easier to do analysis.

I use Eigen for some years and can provide some contributes.

hosseinmoein commented 2 years ago

That's a good point and I think it would be very helpful. But to_eigen() is a simple function to write and any DataFrame user could write it.

One of the principles I have followed in this library is that DataFrame should only depend on C++ language and its standard library. I don't want to break that principles