Create pl.lit
from a Python set
object?
#17012
Labels
enhancement
New feature or an improvement of an existing feature
pl.lit
from a Python set
object?
#17012
Description
This came up when using
list.set_intersection
where trying to pass aset
raises a TypeError.The caller must explictly convert it to a list/tuple, which feels a little awkward.
Should Polars allow this and just treat it as if it were a list?
The text was updated successfully, but these errors were encountered: