Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/numpy/numpy-financial

Standalone package of the NumPy financial functions
https://github.com/numpy/numpy-financial

Last synced: 3 days ago
JSON representation

Standalone package of the NumPy financial functions

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
```