-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Concatenation of array columns, similar to concat_list #18090
Comments
|
|
Ah fair! I only knew about Expr.list.concat for the other thing. I stand corrected. I only care about one of those two cases, but as you say it's probably best to have both if it's going to be named analogously. Thinking about it more, I think concat_[list|array] is a bad name for the "make a list|array" case and they should be separate apis. Out-of-scope though. |
@m00ngoose There has been some discussion of that if it is of interest: |
Based on the discussion linked above it looks like we most likely want to have separate methods for array construction ( |
I have added a draft PR to discuss the design of a |
Description
Polars allows concatentation of
List
typed columns withpl.concat_list
. It would be useful to also allow concatenation ofArray
typed columns.Eg:
This should produce a new column equivalent to:
The text was updated successfully, but these errors were encountered: