fslaborg / Deedle

Easy to use .NET library for data and time series manipulation and for scientific programming
http://fslab.org/Deedle/
BSD 2-Clause "Simplified" License
929 stars 196 forks source link

Series.hasNot is wrong #360

Closed rmunn closed 6 years ago

rmunn commented 7 years ago

After seeing this StackOverflow question, I looked at the Deedle source and noticed that the implementation of Series.hasNot is wrong. It's currently:

let hasNot key (series:Series<'K, 'T>) = series.TryGet(key).HasValue

But it should be:

let hasNot key (series:Series<'K, 'T>) = series.TryGet(key).HasValue |> not