diff --git a/README.rst b/README.rst index 1b2f3020..4b32b804 100644 --- a/README.rst +++ b/README.rst @@ -15,8 +15,8 @@ .. |Build Status| image:: https://github.com/casact/chainladder-python/actions/workflows/pytest.yml/badge.svg :target: https://github.com/casact/chainladder-python/actions/workflows/pytest.yml -.. |Documentation Status| image:: https://readthedocs.org/projects/chainladder-python/badge/?version=latest - :target: https://chainladder-python.readthedocs.io/en/latest/?badge=latest +.. |Documentation Status| image:: https://readthedocs.org/projects/chainladder-python/badge/?version=main + :target: https://chainladder-python.readthedocs.io/main/ .. |codecov io| image:: https://codecov.io/gh/casact/chainladder-python/branch/master/graphs/badge.svg :target: https://codecov.io/github/casact/chainladder-python?branch=latest @@ -50,7 +50,7 @@ We have a dedicated documentation website, where you can find installation instr Visit `Chainladder-Python on Read the Docs`_. -.. _Chainladder-Python on Read the Docs: https://chainladder-python.readthedocs.io/ +.. _Chainladder-Python on Read the Docs: https://chainladder-python.readthedocs.io/stable/ Contributors Working Group ---------------------------- diff --git a/docs/getting_started/tutorials/data-tutorial.ipynb b/docs/getting_started/tutorials/data-tutorial.ipynb index 8f414fd3..0c372d35 100644 --- a/docs/getting_started/tutorials/data-tutorial.ipynb +++ b/docs/getting_started/tutorials/data-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Data Preparation\n", "## Getting Started\n", - "This tutorial focuses on data, including a brief discussion on how to best prepare your data so it works well with the `chainladder` package. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on data, including a brief discussion on how to best prepare your data so it works well with the `chainladder` package. \n" ] }, { diff --git a/docs/getting_started/tutorials/deterministic-tutorial.ipynb b/docs/getting_started/tutorials/deterministic-tutorial.ipynb index dc2cce7e..cb080c65 100644 --- a/docs/getting_started/tutorials/deterministic-tutorial.ipynb +++ b/docs/getting_started/tutorials/deterministic-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Applying Deterministic Methods\n", "## Getting Started\n", - "This tutorial focuses on using deterministic methods to square a triangle. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on using deterministic methods to square a triangle. \n" ] }, { diff --git a/docs/getting_started/tutorials/development-tutorial.ipynb b/docs/getting_started/tutorials/development-tutorial.ipynb index a93bdf46..27cef2a7 100644 --- a/docs/getting_started/tutorials/development-tutorial.ipynb +++ b/docs/getting_started/tutorials/development-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Development Tutorial\n", "## Getting Started\n", - "This tutorial focuses on selecting the development factors. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on selecting the development factors. \n" ] }, { diff --git a/docs/getting_started/tutorials/stochastic-tutorial.ipynb b/docs/getting_started/tutorials/stochastic-tutorial.ipynb index d27d86b1..903ed71b 100644 --- a/docs/getting_started/tutorials/stochastic-tutorial.ipynb +++ b/docs/getting_started/tutorials/stochastic-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Applying Stochastic Methods\n", "## Getting Started\n", - "This tutorial focuses on using stochastic methods to estimate ultimates. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on using stochastic methods to estimate ultimates. \n" ] }, { diff --git a/docs/getting_started/tutorials/tail-tutorial.ipynb b/docs/getting_started/tutorials/tail-tutorial.ipynb index 933c44af..f6caf9ad 100644 --- a/docs/getting_started/tutorials/tail-tutorial.ipynb +++ b/docs/getting_started/tutorials/tail-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Extending Development Patterns with Tails\n", "## Getting Started\n", - "This tutorial focuses on extending the developent patterns beyond the tail. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on extending the developent patterns beyond the tail. \n" ] }, { diff --git a/docs/getting_started/tutorials/triangle-tutorial.ipynb b/docs/getting_started/tutorials/triangle-tutorial.ipynb index 07c0979c..e2d3a67a 100644 --- a/docs/getting_started/tutorials/triangle-tutorial.ipynb +++ b/docs/getting_started/tutorials/triangle-tutorial.ipynb @@ -6,7 +6,7 @@ "source": [ "# Working with Triangles\n", "## Getting Started\n", - "Welcome! We drafted these tutorials to help you get familiar with some of the common functionalities that most actuaries can use in their day-to-day responsibilities. The package also comes with [pre-installed datasets](https://chainladder-python.readthedocs.io/en/latest/library/sample_data.html#sample-dataset) that you can play with, which are also used in the tutorials here.\n", + "Welcome! We drafted these tutorials to help you get familiar with some of the common functionalities that most actuaries can use in their day-to-day responsibilities. The package also comes with [pre-installed datasets](https://chainladder-python.readthedocs.io/stable/library/sample_data.html#sample-dataset) that you can play with, which are also used in the tutorials here.\n", "\n", "The tutorials assume that you have the basic understanding of commonly used actuarial terms, and can independently perform an actuarial analysis in another tool, such as Microsoft Excel or another actuarial software. Furthermore, it is assumed that you already have some familiarity with Python, and that you have the basic knowledge and experience in using some common packages that are popular in the Python community, such as `pandas` and `numpy`." ] @@ -20,18 +20,18 @@ }, { "cell_type": "code", + "execution_count": 1, "metadata": { "ExecuteTime": { "end_time": "2026-01-28T04:18:57.448569Z", "start_time": "2026-01-28T04:18:57.446429Z" } }, + "outputs": [], "source": [ "# import jupyter_black as jb\n", "# jb.load()" - ], - "outputs": [], - "execution_count": 1 + ] }, { "cell_type": "markdown", @@ -39,26 +39,18 @@ "source": [ "All tutorials and exercises rely on chainladder v0.8.12 and later. It is highly recommended that you run your project in a virtual environment to facilitate package management and to avoid dependency conflicts with other projects.\n", "\n", - "For more info on installing chainladder and managing its dependencies, visit [Installation](https://chainladder-python.readthedocs.io/en/latest/getting_started/install.html)." + "For more info on installing chainladder and managing its dependencies, visit [Installation](https://chainladder-python.readthedocs.io/stable/getting_started/install.html)." ] }, { "cell_type": "code", + "execution_count": 2, "metadata": { "ExecuteTime": { "end_time": "2026-01-28T04:18:58.517070Z", "start_time": "2026-01-28T04:18:57.637807Z" } }, - "source": [ - "import pandas as pd\n", - "import numpy as np\n", - "import chainladder as cl\n", - "\n", - "print(\"pandas: \" + pd.__version__)\n", - "print(\"numpy: \" + np.__version__)\n", - "print(\"chainladder: \" + cl.__version__)" - ], "outputs": [ { "name": "stdout", @@ -70,7 +62,15 @@ ] } ], - "execution_count": 2 + "source": [ + "import pandas as pd\n", + "import numpy as np\n", + "import chainladder as cl\n", + "\n", + "print(\"pandas: \" + pd.__version__)\n", + "print(\"numpy: \" + np.__version__)\n", + "print(\"chainladder: \" + cl.__version__)" + ] }, { "cell_type": "markdown", @@ -81,17 +81,17 @@ }, { "cell_type": "code", + "execution_count": 3, "metadata": { "ExecuteTime": { "end_time": "2026-01-28T04:18:58.823841Z", "start_time": "2026-01-28T04:18:58.527160Z" } }, + "outputs": [], "source": [ "%matplotlib inline" - ], - "outputs": [], - "execution_count": 3 + ] }, { "cell_type": "markdown", @@ -111,44 +111,16 @@ }, { "cell_type": "code", + "execution_count": 4, "metadata": { "ExecuteTime": { "end_time": "2026-01-28T04:18:58.992727Z", "start_time": "2026-01-28T04:18:58.834683Z" } }, - "source": [ - "raa_df = pd.read_csv(\n", - " \"https://raw.githubusercontent.com/casact/chainladder-python/master/chainladder/utils/data/raa.csv\"\n", - ")\n", - "raa_df.head(20)" - ], "outputs": [ { "data": { - "text/plain": [ - " development origin values\n", - "0 1981 1981 5012.0\n", - "1 1982 1982 106.0\n", - "2 1983 1983 3410.0\n", - "3 1984 1984 5655.0\n", - "4 1985 1985 1092.0\n", - "5 1986 1986 1513.0\n", - "6 1987 1987 557.0\n", - "7 1988 1988 1351.0\n", - "8 1989 1989 3133.0\n", - "9 1990 1990 2063.0\n", - "10 1982 1981 8269.0\n", - "11 1983 1982 4285.0\n", - "12 1984 1983 8992.0\n", - "13 1985 1984 11555.0\n", - "14 1986 1985 9565.0\n", - "15 1987 1986 6445.0\n", - "16 1988 1987 4020.0\n", - "17 1989 1988 6947.0\n", - "18 1990 1989 5395.0\n", - "19 1983 1981 10907.0" - ], "text/html": [ "