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 <i...@ursacomputing.com> 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 <rnku...@gmail.com> 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