Skip to content

MAINT - fixing a deprecationwarning#2200

Merged
rcap107 merged 1 commit into
skrub-data:mainfrom
rcap107:maint-deprecation-pl-1.42
Jul 2, 2026
Merged

MAINT - fixing a deprecationwarning#2200
rcap107 merged 1 commit into
skrub-data:mainfrom
rcap107:maint-deprecation-pl-1.42

Conversation

@rcap107

@rcap107 rcap107 commented Jul 2, 2026

Copy link
Copy Markdown
Member

the problem is that the current behavior of pl.concat(how="horizontal") is deprecated on version of polars past 1.41

how="horizontal" pads with nulls columns that don't have the same length, and from 1.42 that behavior needs to be enabled with "horizontal_extend"

but old versions of polars don't have "horizontal_extend"

in skrub we assume all concatenated dataframes to have the same length, so the new behavior is what we would expect anyway

this pr silences the deprecation warning so that tests can run

@rcap107 rcap107 merged commit 36d6205 into skrub-data:main Jul 2, 2026
30 checks passed
@rcap107 rcap107 deleted the maint-deprecation-pl-1.42 branch July 2, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants