list.set_intersection operates on the wrong columns when multiple columns are selected with pl.col #18795
Closed
2 tasks done
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Output:
Log output
No response
Issue description
I am trying to replace
a
witha ^ c
and replaceb
withb ^ c
. If I perform these two operations separately, it works. However, if I try to usepl.col
to select botha
andb
and perform both operations at the same time, insteada
is replaced witha ^ b ^ c
and nothing happens tob
.Expected behavior
When I use
pl.col
to select botha
andb
and perform on each the set interaction withc
, it should behave the same as when I compute the two intersections separately.Installed versions
The text was updated successfully, but these errors were encountered: