https://github.com/numpy/numpy-financial
Standalone package of the NumPy financial functions
https://github.com/numpy/numpy-financial
Last synced: 7 months ago
JSON representation
Standalone package of the NumPy financial functions
- Host: GitHub
- URL: https://github.com/numpy/numpy-financial
- Owner: numpy
- License: bsd-3-clause
- Created: 2019-09-25T19:35:09.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T23:41:50.000Z (8 months ago)
- Last Synced: 2025-04-29T00:25:55.071Z (7 months ago)
- Language: Python
- Homepage: http://numpy.org/numpy-financial/
- Size: 577 KB
- Stars: 363
- Watchers: 26
- Forks: 85
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# NumPy Financial
The `numpy-financial` package contains a collection of elementary financial
functions.
The [financial functions in NumPy](https://numpy.org/doc/1.17/reference/routines.financial.html)
are deprecated and eventually will be removed from NumPy; see
[NEP-32](https://numpy.org/neps/nep-0032-remove-financial-functions.html)
for more information. This package is the replacement for the original
NumPy financial functions.
The source code for this package is available at https://github.com/numpy/numpy-financial.
The importable name of the package is `numpy_financial`. The recommended
alias is `npf`. For example,
```
>>> import numpy_financial as npf
>>> npf.irr([-250000, 100000, 150000, 200000, 250000, 300000])
0.5672303344358536
```