Bermuda is a Python package for the representation, manipulation, and exploration of insurance loss triangles, created by Ledger Investing. It offers a user-friendly interface for:
- Loading and saving insurance loss triangles using a number of formats (e.g. JSON, CSV, Pandas
DataFrameobjects, binary files). - A single
Triangleclass for manipulating triangles of varying complexities (e.g. ragged, multi-program, cumulative or incremental triangles). - An intuitive
Celltype that can hold multiple data types and metadata. - A collection of useful
Cell- andTriangle-level functionality, including summarizing, aggregating, extending, filtering, and bootstrapping insurance loss triangles.
Check out the full documentation.
If you're new to Bermuda, take a look at the Quick Start guide for a brief overview of its functionality, or the User Guide for a more complete explanation of Bermuda's design decisions, insurance triangles, and Bermuda's overall architecture. The Tutorials section includes common usage patterns.
If you're interested in contributing to Bermuda, take a look at our Developer Guide.
Core:
python3.11 -m pip install bermuda-ledgerDeveloping:
python3.11 -m pip install 'bermuda-ledger[dev]'Docs:
python3.11 -m pip install 'bermuda-ledger[docs]'