This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients DavidMertz, dcasmr, eric.smith, iritkatriel, jfine2358, maheshwark97, mark.dickinson, rhettinger, steven.daprano
Date 2021-08-20.21:37:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629495446.36.0.117007738638.issue33084@roundup.psfhosted.org>
In-reply-to
Content
[Steven]
> Thoughts?

1) Document that results are undefined if a NaN is present in the data.

2) Add function to strip NaNs from the data:

    def remove_nans(iterable):
        "Remove float('NaN') and other objects not equal to themselves"
        return [x for x in iterable if x == x]
History
Date User Action Args
2021-08-20 21:37:26rhettingersetrecipients: + rhettinger, mark.dickinson, eric.smith, steven.daprano, DavidMertz, maheshwark97, dcasmr, jfine2358, iritkatriel
2021-08-20 21:37:26rhettingersetmessageid: <1629495446.36.0.117007738638.issue33084@roundup.psfhosted.org>
2021-08-20 21:37:26rhettingerlinkissue33084 messages
2021-08-20 21:37:26rhettingercreate