Hi Ryan,

I believe the compute function "binary_join_element_wise" in the Arrow
C++ library does just this:
https://arrow.apache.org/docs/cpp/compute.html#string-joining

I believe you can call this function in PyArrow following the same
pattern described here:
https://arrow.apache.org/docs/python/compute.html#standard-compute-functions

Ian

On Mon, Sep 26, 2022 at 5:26 PM Ryan Kuhns <[email protected]> wrote:
>
> Hi,
>
> I’ve started using Apache Arrow via pyarrow.
>
> One area I’ve struggled is the ability to create a new column that is a 
> concatenation of other string columns.
>
> The existing string concatenation compute functions don’t appear to work for 
> the case I’m describing.
>
> Are there any plans to create a compute function that accepts arrays of 
> strings and returns an array that has concatenated the input arrays 
> element-wise?
>
> Or is there an efficient way I could use the existing functionality to 
> accomplish this?
>
> Thanks in advance for the help!
>
> Ryan

Reply via email to