diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2020-05-14 14:03:05 -0400 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2020-05-15 01:42:05 -0400 |
commit | 533eb93aed5e42b29041bbbfadc5cd57745757fc (patch) | |
tree | bec219ed62219937a279686331e0cd0839b30da0 /numpy/polynomial/polyutils.py | |
parent | 59e8fc601bf38c94bf1ee0a7153a7ee385133e4b (diff) | |
download | numpy-533eb93aed5e42b29041bbbfadc5cd57745757fc.tar.gz |
DOC: Warn about behavior of ptp with signed integers.
* Add a warning to the docstrings of numpy.ma.MaskedArray.ptp and
numpy.ptp about a problem with signed integer arrays.
* Add an example to the the docstring of numpy.ptp that demonstrates
the issue and suggests a work-around.
* Add an "Examples" section to the docstring of MaskedArray.ptp
which includes the new example added to the docstring of numpy.ptp.
* Make the numbers in the basic example more interesting.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions