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 gaoxinge
Recipients WarrenWeckesser, gaoxinge, mark.dickinson, rhettinger, steven.daprano, taleinat, tim.peters
Date 2019-10-30.06:06:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572415580.11.0.561866986665.issue38382@roundup.psfhosted.org>
In-reply-to
Content
Your point makes sense. We should still also consider the `int`, `Decimal`, `Fraction`, `math.nan`, `math.inf`, `np.int` and so on. So

- `geometric mean`: input should be positive (>= 0)
- `harmonic mean`: input should be nonzero (!= 0)
- `mean` or `fmean`: no input restriction
History
Date User Action Args
2019-10-30 06:06:20gaoxingesetrecipients: + gaoxinge, tim.peters, rhettinger, mark.dickinson, taleinat, steven.daprano, WarrenWeckesser
2019-10-30 06:06:20gaoxingesetmessageid: <1572415580.11.0.561866986665.issue38382@roundup.psfhosted.org>
2019-10-30 06:06:20gaoxingelinkissue38382 messages
2019-10-30 06:06:19gaoxingecreate