mir-stat
jmh530
john.michael.hall at gmail.com
Thu Oct 8 18:17:30 UTC 2020
On Thursday, 8 October 2020 at 17:53:53 UTC, Andre Pany wrote:
> [snip]
>
> Thanks for this great piece of software. Does Mir provides
> s.th. similar like Pandas DataFrame, especially the feature to
> give columns a name and marking as inde x columns?
>
> Kind regards
> Andre
Magpie [1] was an initial effort as a summer of code project. The
last commit was September 2019.
There is also some basic support in mir (example at [2]). Ilya
can speak more about long-term plans for enhancing that.
One limitation in mir is that Slice's only allow for the same
type throughout. For instance, a Slice!(double*, 1u) is a
1-dimensional slice of doubles. Data frames in R or Pandas
DataFrames allow for columns with different types, so for
instance you can calculate some summary statistic based on some
category (like color). So to really get the same functionality,
you need to support slices with heterogeneous types.
[1] https://github.com/Kriyszig/magpie
[2]
https://github.com/libmir/mir-algorithm/blob/f30ccd9f7abc63166c9179e04b2817bf656764bd/source/mir/ndslice/allocation.d#L330
More information about the Digitalmars-d-announce
mailing list