Skip to content

Fixed format for column group#1898

Open
AndreiKingsley wants to merge 1 commit into
masterfrom
fix_format_colgroup
Open

Fixed format for column group#1898
AndreiKingsley wants to merge 1 commit into
masterfrom
fix_format_colgroup

Conversation

@AndreiKingsley

Copy link
Copy Markdown
Collaborator

Fixes #1888.

@Allex-Nik please check

@AndreiKingsley AndreiKingsley changed the title fix format for column group Fixed format for column group Jun 15, 2026
val nested = if (col is ColumnGroup<*>) {
col.columns().map {
col.columnToJs(it.addParentPath(col.path), rowsLimit, configuration, renderRootDf)
renderRootDf.columnToJs(it.addParentPath(col.path), rowsLimit, configuration, renderRootDf)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in both places columnToJs is called, both the receiver and renderRootDf are the same value. I believe this can be simplified

@Allex-Nik Allex-Nik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works now! Thanks :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

format + where fails on a DataFrame with a ColumnGroup

3 participants