F#Deedle返回<fun:it @ 156-43>的奇怪输出

时间:2016-04-08 21:54:22

标签: f# deedle fslab

当我在行框架上使用FirstKey和LastKey时,我从Deedle获得了一个奇怪的输出。 cl是以下示例中的DataFrame。

cl.Rows.FirstKey 

在FSI窗口中返回:val it :( unit - &gt; DateTime)= <fun:it@156-43>

cl.Rows.LastKey

在FSI窗口中返回:val it :( unit - &gt; DateTime)= <fun:it@157-44>

我期待DateTime的关键值。有人认出输出吗?我是否必须进行某种进一步处理才能获得有用的输出?

更新。我编辑了这个问题,以便现在可以看到FSI窗口的完整输出。

1 个答案:

答案 0 :(得分:2)

John Palmer的评论解决了我的问题。在我的示例中编写FirstKey和LastKey函数的正确方法:

cl.Rows.FirstKey() 
cl.Rows.LastKey()