UtilityFunctions.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:chainladder-python 作者: jbogaardt 项目源码 文件源码
def load_dataset(key):
    """ Function to load datasets included in the chainladder package.

    Arguments:
    key: str
        The name of the dataset, e.g. RAA, ABC, UKMotor, GenIns, etc.

    Returns:
    pandas.DataFrame of the loaded dataset.
   """
    path = os.path.dirname(os.path.abspath(__file__))
    return read_pickle(os.path.join(path, 'data', key))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号