diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2020-08-12 20:41:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-12 19:41:23 -0500 |
commit | b4fd7a79bc55f17f301d219492528e6f5f40c6f0 (patch) | |
tree | 244ffaa0968549d474580eaaf17dc4f97aedc42e /doc/release | |
parent | 2b54640ad50bbbfecfb4c9cc8c9dd9c161f6a52e (diff) | |
download | numpy-b4fd7a79bc55f17f301d219492528e6f5f40c6f0.tar.gz |
DEP: lib: Remove the deprecated financial functions. (#17067)
As explained in NEP 32, the financial functions are to be removed
from version 1.20.
They are now replaced with module level `__getattr__` to give a useful
error message for those surprised by the `AttributeError`.
This only works for Python 3.7+, but it is expected that by the 1.20 release
Python 3.6 will not be supported.
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/upcoming_changes/17067.expired.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/17067.expired.rst b/doc/release/upcoming_changes/17067.expired.rst new file mode 100644 index 000000000..a1065d2c3 --- /dev/null +++ b/doc/release/upcoming_changes/17067.expired.rst @@ -0,0 +1,8 @@ +Financial functions removed +--------------------------- +In accordance with NEP 32, the financial functions are removed +from NumPy 1.20. The functions that have been removed are ``fv``, +``ipmt``, ``irr``, ``mirr``, ``nper``, ``npv``, ``pmt``, ``ppmt``, +``pv``, and ``rate``. These functions are available in the +`numpy_financial <https://pypi.org/project/numpy-financial>`_ +library. |