ifrs17sim CSM waterfall chart

Draw a graph of CSM amortization pattern.

Run this sample now! launch binder

import pandas as pd
import collections
from draw_charts import draw_waterfall

    import ifrs17sim.ifrs17sim as ifrs17sim
except ImportError:
    import ifrs17sim

model = ifrs17sim.build()
proj = model.OuterProjection[1]

data = collections.OrderedDict()

for cells in ['CSM_Unfloored',
    data[cells] = [proj.cells[cells](t) for t in range(15)]

df = pd.DataFrame(data)
df['TransServices'] = -1 * df['TransServices']


Total running time of the script: ( 0 minutes 28.646 seconds)

Gallery generated by Sphinx-Gallery