Hi, José Roberto.
Using pandas is very easy to do (see example 6 from documentation):
import pandas as pd
import pyliferisk as lf
USLife1979 = pd.read_csv(’ uslife79.csv ’)
USLife79lx = USLife1979[’lx’].tolist()
mt = lf.MortalityTable(lx=USLife79lx)
Note that first item indicates the age when table starts (p.e.:
SCOT_DLT_00_02_M = [0, 0.006205, 0.000328, 0.00026 ...])
Regards,
F.
El sáb, 5 feb 2022 a las 20:03, José Roberto Santos
(<
zero.sa...@gmail.com>) escribió:
> --
> You received this message because you are subscribed to the Google Groups "openactuarial" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
openactuaria...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/openactuarial/c4b13618-6881-4ced-a4f0-ab4610cdb91dn%40googlegroups.com.