Thanks to everyone for the help. The binary_join_element_wise compute fun thin does what I need. I was just calling it wrong!
> On Sep 27, 2022, at 4:55 AM, Jacek Pliszka <[email protected]> wrote: > > Hi! > > I think API section is more user friendly: > > https://arrow.apache.org/docs/python/api/compute.html#api-compute > > https://arrow.apache.org/docs/python/generated/pyarrow.compute.binary_join_element_wise.html#pyarrow.compute.binary_join_element_wise > > BR > > J > > pon., 26 wrz 2022 o 23:48 Ian Cook <[email protected]> napisał(a): >> >> 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
