Project: numpy-financial

Simple financial functions

Project Details

Latest version
1.0.0
Home Page
https://numpy.org/numpy-financial/
PyPI Page
https://pypi.org/project/numpy-financial/

Project Popularity

PageRank
0.002441088198182107
Number of downloads
467697

NumPy Financial

The numpy-financial package contains a collection of elementary financial functions.

The financial functions in NumPy are deprecated and eventually will be removed from NumPy; see NEP-32 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