Deedle icon indicating copy to clipboard operation
Deedle copied to clipboard

Improve conversion of data frames for R

Open tpetricek opened this issue 11 years ago • 1 comments

The current implementation of R provider plugin does not correctly convert non-numeric data from R data frames to Deedle frames. In particular, it uses AsDataFrame from R.NET which succeeds, but converts non-numeric data to zeros.

I asked about this on R.NET forums and it should be better to do better using "factors". For more info see the R.NET discussion.

tpetricek avatar Nov 30 '13 01:11 tpetricek

I don't think factors are being converted to zeros, they are representing strings as integers (kind of like an enum). They just all happened to be the same.

In the BM dataframe conversion I think I did something to deal with factors. I can send to you if you like.

hmansell avatar Dec 02 '13 16:12 hmansell