We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
start
range
1 parent edc9e87 commit dad5fd5Copy full SHA for dad5fd5
financial/amortization_table.py
@@ -80,7 +80,7 @@ def amortization_table(
80
interest_rate /= 12
81
payment_amount = payment(principal, interest_rate, payments)
82
amor_table = pd.DataFrame(
83
- index=range(0, payments + 1),
+ index=range(payments + 1),
84
columns=["Payment", "Principal", "Interest", "Remaining"],
85
dtype="float",
86
data=0,
0 commit comments