F# 系列中是否有错误。是否有?

F# 系列中是否有错误。是否有?,f#,series,deedle,F#,Series,Deedle,Deedle中的函数帮助系列.hasNot说明: 当序列不包含指定键的值时,返回true 在以下示例中,该函数似乎不是以这种方式工作的: let election = [ "Party A", 304 "Party B", 25 "Party C", 570 "Party Y", 2 "Party Z", 258 ] |&g

Deedle
中的函数帮助
系列.hasNot
说明:

当序列不包含指定键的值时,
返回true

在以下示例中,该函数似乎不是以这种方式工作的:

let election =
             [ "Party A", 304
               "Party B", 25 
               "Party C", 570
               "Party Y", 2
               "Party Z", 258 ]
             |> series
let bhnt =
    election
    |> Series.hasNot "Party A"
printfn "%A" <| bhnt
// true
// val bhnt : bool = true
// val it : unit = ()
let选举=
[“甲方”,304
“乙方”,25岁
“丙方”,570
“Y党”,2
“Z方”,258]
|>系列
让bhnt=
选举
|>系列。非“甲方”
printfn“%A”我刚才查看了,看到了以下内容:

let has key (series:Series<'K, 'T>) = series.TryGet(key).HasValue
let hasNot key (series:Series<'K, 'T>) = series.TryGet(key).HasValue
或者,如果你认为它看起来更好,你也可以这样写:

let bhnt =
    election
    |> (not << Series.has "Party A")
让bhnt=
选举

|> (在Deedle中修复此错误之前,不会使用可使用的解决方法更新我的评论。此错误的修复,因此下一个Deedle版本应对此进行修复。我不知道该版本的发布时间,因为我不是Deedle项目的一部分,但您可以不时查看以查看新版本。我没有提交任何信息。)o修复此错误。感谢您发送修复!我需要找出CI的错误并将其合并!
let bhnt =
    election
    |> (not << Series.has "Party A")