diff options
author | Matti Picus <matti.picus@gmail.com> | 2019-04-25 22:46:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 22:46:53 -0700 |
commit | c37befb43ae9477a5e0ff1faeb5aa493a135805b (patch) | |
tree | e1bfcaaa0a203e372253c402494a1b7753d1d6ce /doc/release | |
parent | 9218e593d05c1231a8b2c72d47967e02099070ae (diff) | |
parent | 9a23f16b67958205468f7f5c4e0966f393558d9a (diff) | |
download | numpy-c37befb43ae9477a5e0ff1faeb5aa493a135805b.tar.gz |
Merge pull request #13390 from eric-wieser/quantile-fraction
ENH: Add support for Fraction to percentile and quantile
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/1.17.0-notes.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst index 800b1088c..45840e221 100644 --- a/doc/release/1.17.0-notes.rst +++ b/doc/release/1.17.0-notes.rst @@ -241,6 +241,11 @@ These ufuncs now call the ``__floor__``, ``__ceil__``, and ``__trunc__`` methods when called on object arrays, making them compatible with `decimal.Decimal` and `fractions.Fraction` objects. +`quantile` now works on `fraction.Fraction` and `decimal.Decimal` objects +------------------------------------------------------------------------- +In general, this handles object arrays more gracefully, and avoids floating- +point operations if exact arithmetic types are used. + Changes ======= |