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

标签 f# deedle fslab

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

cl.Rows.FirstKey 

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

cl.Rows.LastKey

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

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

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

最佳答案

约翰·帕尔默的评论解决了我的问题。在我的示例中编写 FirstKey 和 LastKey 函数的正确方法:

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

关于F# Deedle 返回奇怪的输出 <fun :it@156-43>,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36509940/

相关文章:

performance - 我可以从 F# 交互式计时输出中提取哪些有用信息?

optimization - DateTime转字符串,在F#中,可以进一步优化吗?

deedle - 在 Deedle 中聚合数据帧

excel - 如何以 Excel 日期为键对 Deedle 框架进行索引?

f# - 为多个数据文件创建类似的 HTML 报告

css - 如何使 FsLab 表格渲染得很好?

f# - 我可以在泛型类中使用类型缩写作为别名吗?

concurrency - 单子(monad)和 Actor

csv - 如何将数据从 FSharp.Data.CsvProvider 传递到 Deedle.Frame?

f# - FSLab模板项目运行时出错