The value-added Python offers over and above alternative packages.
Session 1
Code:
cet1_res = cet1[['Net CET1', 'Total RWAs', 'CET1']]
cet1_res = cet1_res.resample('A-JUN').last()
print(cet1_res.to_markdown())
Net CET1 | Total RWAs | CET1 | |
---|---|---|---|
2019 | 34864 | 308367 | 11.306 |
2020 | 37080 | 318554 | 11.640 |
2021 | 41853 | 320479 | 13.059 |