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] Get sub DataFrame by column_name for Groupby #122

Closed westfly closed 3 years ago

westfly commented 3 years ago

We have a big DataFrame, but only care a few column for groupby which may cost time,so we generate sub DataFrame to groupby.

we check api, get_data_by_idx get_data_by_loc will work,but we must keep idx of column outside. Is it possible to add interface by column_names ?

hosseinmoein commented 3 years ago

I am not sure I understand what you are asking. Can you explain further, ideally with an example?