Skip to content

[ENH] Enable concatenation of stylers #1336

Description

@genedan

See #1331 for a use case. The Pandas analogue allows for concatenation of two Stylers whose DataFrames have the same columns.

If we want to concatenate a Styler for a Triangle's link ratios with a Styler for a set of patterns, we need to define some type of compatibility criterion. I would propose the development periods need to be the same, with an ultimate period if needed.

Another scenario is concatenating a Triangle with its set of link ratios, since the number of table columns are not the same. In this case the development periods from which the link ratios were derived need to be the same.

Activity

  1. added this to the v0.11.0 milestone on Sep 11, 2026
  2. added theissue type on Sep 11, 2026
  3. updated Effort Medium and Priority High on Sep 11, 2026
  4. moved this from Not Ready to Ready in Chainladder-Python Project Boardon Sep 20, 2026
  5. self-assigned this
    on Sep 23, 2026
  6. priyam0k commented on Sep 23, 2026

    @priyam0k
    Contributor

    I can look at this next once #1422 lands.
    For the column mismatch (like N columns on a triangle vs N-1 on link ratios), padding the extra column with blanks could let the underlying DataFrames align cleanly without breaking Pandas' internal concat check.
    Open to other ideas, but I can put together a quick prototype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

Priority

High

Effort

Medium

Scope

Both

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions