On Friday, 15 August 2025 at 21:45:09 UTC, Marc wrote:
On Friday, 15 August 2025 at 21:09:50 UTC, Ali Çehreli wrote:
>
> Any help would be really appreciated.

This design doesn't seem useful. How about something like the following:

import std.conv : to;

    x[i, j].to!double;
    y[i, j].to!float;

Ali

Thanks a lot for your reply. It should be a bug to call it with double when the data is float and vice versa. I managed to make it work with a variant / sumtype. Now i can do the following

```d
auto df = new DataFrame!Ts(...)
auto value = df[0, 0];
//or
float value = df[0,0].get!float;
```

Thanks for your reply. It solved my problem.

Reply via email to