Skip to content

Commit 4dad010

Browse files
committed
fix build warning
1 parent e2dd03a commit 4dad010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy_financial/_financial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,13 +922,13 @@ def npv(rate, values):
922922
923923
The NPV calculation may be applied to several ``rates`` and ``cashflows``
924924
simulatneously. This produces an array of shape ``(len(rates), len(cashflows))``.
925+
925926
>>> rates = [0.00, 0.05, 0.10]
926927
>>> cashflows = [[-4_000, 500, 800], [-5_000, 600, 900]]
927928
>>> npf.npv(rates, cashflows).round(2)
928929
array([[-2700. , -3500. ],
929930
[-2798.19, -3612.24],
930931
[-2884.3 , -3710.74]])
931-
932932
"""
933933
values_inner = np.atleast_2d(values)
934934
rate_inner = np.atleast_1d(rate)

0 commit comments

Comments
 (0)