Skip to content
Projects

numpy/numpy-financial

View on GitHub

About

Standalone package of the NumPy financial functions

Business & Finance

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

Development

Test the package:

spin test -- --doctest-modules

Explore related projects

Loading…