I imported some data in a Deedle Frame, and I'm trying to convert values type in integer type.
I used the following code:
let myFrmK01 = Frame.ReadCsv(@"QuandlDataSample.csv", hasHeaders=true)
let myFrmK02 = myFrmK01
|> Frame.indexRowsDate "Date"
|> Frame.sortRowsByKey
Now, to convert the values type I tryed with:
let myFrame03 = Frame.mapValues (fun (x:float) -> (Convert.ToUInt64(x * 100.0))) myFrame02
and if I go to see the values of the frame with:
myFrame03.Item("Adj. Open").Item (DateTime(2017, 5, 3))
I find it is still a float. Where I'm wrong?
Thanks.