I am fairly new to QuantLib Python. I have generated the following cashflows from one AmortizingFloatingBond from QuantLib Python. But I am not able to identify which ones are Interest payments and which ones are Principal; I have more than 450 bonds and it is not possible to manually look into each. Is there any tag for Principal and Interest in the QuantLib output?
for j, cf in enumerate(amortizingfloatbond.cashflows()):
print((j + 1), cf.date(), cf.amount())
1 October 2nd, 2020 455855.3007039195
2 October 2nd, 2020 327494.6000000001
3 October 4th, 2021 368553.92597433936
4 October 4th, 2021 327494.6
5 October 3rd, 2022 260478.18044824633
6 October 3rd, 2022 327494.6
7 October 2nd, 2023 174560.1025981066
8 October 2nd, 2023 327494.6
9 October 2nd, 2024 88260.35700473993
10 October 2nd, 2024 327494.6
Will really appreciate any inputs. Thanks in advance.