Get financial functions out of main namespace
See original GitHub issueWe have these financial functions that are exported in the main numpy
namespace, and are really out of place:
http://docs.scipy.org/doc/numpy/reference/routines.financial.html
Also:
- They have terrible names (even if they weren’t in the main namespace, but especially so given that they are)
- There are multiple documented, but unimplemented, functions here. WTF.
Let’s move them to numpy.financial (currently they’re also in numpy.lib.financial
, but the .lib.
part is just noise IMO) with better names and deprecate the current names.
Issue Analytics
- State:
- Created 11 years ago
- Comments:44 (39 by maintainers)
Top Results From Across the Web
[Numpy-discussion] NEP 32: Remove the financial functions ...
Github issue 2880 ("Get financial functions out of main namespace", ... I have submitted "NEP 32: Remove the financial functions from NumPy" ...
Read more >Financial Class (Microsoft.VisualBasic)
This module supports the Visual Basic run-time library members that perform financial calculations such as depreciation, present and future values, ...
Read more >Namespace in C++ | Set 1 (Introduction) - GeeksforGeeks
A namespace is a feature added in C++ and is not present in C. A namespace is a declarative region that provides a...
Read more >Python Function Tutorial: Definition, Types, Namespace and ...
In this article, we will understand the different types of python functions and how to define and call them. We will also understand...
Read more >6 Important Things to Know About Python Functions - Built In
All Python functions use the same basic structure. First you need to define the function, providing it a name and the arguments necessary ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The financial functions are now officially deprecated, and the plan is to remove them from numpy 1.20. We can close this issue.
The plan is to create the new pypi module before we put in a deprecation warning, and the deprecation warning would explicitly state where to get it.
I do not think we have a way to make sure that withering, does not happen. Although I am not sure that is not already happening right now. I personally hope the opposite happens, not in the sense of
numpy-financial
growing necessarily, but in the sense of another project filling the need better. I may be wrong, but the numpy financial functions seem pretty limited, and I wonder if having them in numpy rather muffles development of tools outside of numpy.