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.54k stars 313 forks source link

[help] concat always return StdDataFrame #117

Closed westfly closed 3 years ago

westfly commented 3 years ago

Hi

I have two DataFrame with same column names need to merge, Concat with concat_policy::all_columns will work fine, but concat return a StdDataFrame will copy all data of two DataFrame which may cause performance issues, could you add an View interface ?

self_concat will modify the first DataFrame, but we want to keep the original DF.

thanks for your great work in advance.

hosseinmoein commented 3 years ago

Yeah, it is possible. It will take me sometime to add it

hosseinmoein commented 3 years ago

This has been added to master. See: https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTML/concat.html