Skip to content

Conversation

@dangotbanned
Copy link
Member

@dangotbanned dangotbanned commented Dec 22, 2025

Description

Next one in this series of gap-fillers is DslFunction::Unpivot

The only difference from main is what is allowed in on and index:

narwhals/narwhals/dataframe.py

Lines 2272 to 2276 in 83f4f2e

def unpivot(
self,
on: str | list[str] | None = None,
*,
index: str | list[str] | None = None,

def unpivot(
self,
on: OneOrIterable[ColumnNameOrSelector] | None = None,
*,
index: OneOrIterable[ColumnNameOrSelector] | None = None,

Related issues

@dangotbanned dangotbanned changed the title feat(expr-ir): Add DataFrame.unpivot feat(expr-ir): Add BaseFrame.unpivot Dec 22, 2025
@dangotbanned dangotbanned marked this pull request as ready for review December 22, 2025 23:32
@dangotbanned dangotbanned merged commit d47a7fa into oh-nodes Dec 22, 2025
30 of 35 checks passed
@dangotbanned dangotbanned deleted the expr-ir/dataframe-unpivot branch December 22, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants