chainladder.concat

Contents

chainladder.concat#

chainladder.concat(objs: Iterable, axis: int | str, ignore_index: bool = False, sort: bool = False)#

Concatenate Triangle objects along a particular axis.

Parameters:
objs: list or tuple

A list or tuple of Triangle objects to concat. All non-concat axes must be identical and all elements of the concat axes must be unique.

axis: string or int

The axis to concatenate along.

ignore_index: bool, default False

If True, do not use the index values along the concatenation axis. The resulting axis will be labeled 0, …, n - 1. This is useful if you are concatenating objects where the concatenation axis does not have meaningful indexing information. Note the index values on the other axes are still respected in the join.

Returns:
Updated triangle