model_point#

model_point()[source]#

The selected model point as a Series

model_point() looks up model_point_table_ext(), and returns as a Series the row whose index is the value of point_id.

Example

In the code below Projection refers to the Projection space:

>>> Projection.point_id
1

>>> Projection.model_point()
spec_id                    A
age_at_entry              20
sex                        M
policy_term               10
policy_count             100
sum_assured           500000
duration_mth               0
premium_pp            500000
av_pp_init                 0
premium_type          SINGLE
has_surr_charge        False
surr_charge_id           NaN
load_prem_rate           0.1
is_wl                  False
Name: 1, dtype: object

>>> Projection.point_id = 2

>>> Projection.model_point()
spec_id                    C
age_at_entry              20
sex                        M
policy_term             9999
policy_count             100
sum_assured           500000
duration_mth               0
premium_pp              1000
av_pp_init                 0
premium_type           LEVEL
has_surr_charge        False
surr_charge_id           NaN
load_prem_rate           0.1
is_wl                   True
Name: 3, dtype: object