Typed data frames in D

Lance Bachmeier no at spam.net
Sat Aug 16 22:39:22 UTC 2025


On Saturday, 16 August 2025 at 20:40:50 UTC, Marc wrote:
> Hi,
>
> I'm trying to implement data frames in D based on mir slices. 
> I'm not sure if there's a better approach. Currently support 
> just basic slicing and assignment.
>
> Are there any efforts in the community toward this goal.
>
> What features would you like to see in the data frame? Any 
> ideas or feature request would be appreciated.
>
> https://github.com/istmarc/typeddataframe

My impression is that this turns out to be a lot of work once you 
get into it. Here are a couple of previous projects that flamed 
out:

- https://code.dlang.org/packages/magpie
- https://github.com/aravindavk/dataframes-d

I'm not a big user of data frames, but when I want them, I just 
call them from R. At first it's tempting to do the NIH thing, but 
that quickly goes away when you realize you don't have to spend 
years writing and testing libraries that duplicate existing 
functionality. This is another one of the many areas where NIH 
syndrome makes D users go in circles, inevitably leading to their 
departure for another language.


More information about the Digitalmars-d-learn mailing list