fslaborg / FSharp.Stats

statistical testing, linear algebra, machine learning, fitting and signal processing in F#
https://fslab.org/FSharp.Stats/
Other
205 stars 54 forks source link

[Feature Request] add shorthand function to filter out nan values from an array #249

Closed ghost closed 1 year ago

ghost commented 1 year ago

Is your feature request related to a problem? Please describe. filtering out NaN values from an array is a common operation. It would be nice if there was a shorthand for it like pandas does.

Describe the solution you'd like Add a dropNaN function in the Array module.

Describe alternatives you've considered NA

Additional context I'll make a pull request for this shortly