Skip to content

Commit

Permalink
prep 0.8.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogaardt committed Apr 25, 2021
1 parent 81bbbed commit 26c3e7c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/modules/triangle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,17 @@ As of version ``0.7.6``, four-dimensional slicing is supported:
>>> clrd.iloc[[0, 10, 3], 1:8, :5, :]
>>> clrd.loc[:'Aegis Grp', 'CumPaidLoss':, '1990':'1994', :48]

As of version ``0.8.3``, ``.iat`` and ``at`` functionality have been added. Similar
to pandas, one can use these for value assignment for a single cell of a `Triangle`.
When a 'sparse' backend is in use, these accessors are the only way to modify individual
cells of a triangle.

**Example:**
>>> import chainladder as cl
>>> raa = cl.load_sample('raa').set_backend('sparse')
>>> # To modify a sparse triangle, we need to use at or iat
>>> raa.at['Total', 'values', '1985', 12] = 10000



Arithmetic
Expand Down
16 changes: 16 additions & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ Releases

Version 0.8
===========
Version 0.8.3
--------------
Release Date: Apr 25, 2021

**Enhancements**

- `#135 <https://github.com/casact/chainladder-python/issues/135>`__ - Added ``.at`` and ``.iat`` slicing and value assignment


**Bug Fixes**

- `#144 <https://github.com/casact/chainladder-python/issues/144>`__ - Eliminated error when trying to assign a column from a different array backend.
- `#134 <https://github.com/casact/chainladder-python/issues/134>`__ - Clearer error handling when attempting to instantiate a triangle with ages instead of date-likes
- `#143 <https://github.com/casact/chainladder-python/issues/143>`__ - Reworked ``full_triangle_`` run-off for expected loss methods.


Version 0.8.2
--------------
Release Date: Mar 27, 2021
Expand Down

0 comments on commit 26c3e7c

Please sign in to comment.