dataframe implementations
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Nov 21 06:16:25 PST 2015
On Thursday, 19 November 2015 at 22:14:01 UTC, ZombineDev wrote:
> On Thursday, 19 November 2015 at 06:33:06 UTC, Jay Norwood
> wrote:
>> On Wednesday, 18 November 2015 at 22:46:01 UTC, jmh530 wrote:
>>> My sense is that any data frame implementation should try to
>>> build on the work that's being done with n-dimensional slices.
>>
>> I've been watching that development, but I don't have a feel
>> for where it could be applied in this case, since it appears
>> to be focused on multi-dimensional slices of the same data
>> type, slicing up a single range.
>>
>> The dataframes often consist of different data types by column.
>>
>> How did you see the nd slices being used?
>>
>> Maybe the nd slices could be applied if you considered each
>> row to be the same structure, and slice by rows rather than
>> operating on columns. Pandas supports a multi-dimension panel.
>> Maybe this would be the application for nd slices by row.
>
> How about using a nd slice of Variant(s), or a more specialized
> type Algebraic type?
>
> [1]: http://dlang.org/phobos/std_variant
Not sure it is a great idea to use a variant as the basic option
when very often you will know that every cell in a particular
column will be of the same type.
More information about the Digitalmars-d-learn
mailing list