Open
Description
Problem Description
Similar to existing DataFrame export in #56587, I would like Pandas to export Series via the Arrow PyCapsule Interface.
Feature Description
Implementation would be quite similar to #56587. I'm not sure what the ideal API is to convert a pandas Series to a pyarrow Array/ChunkedArray.
Alternative Solutions
Require users to pass a series into a DataFrame before passing to an external consumer?
Additional Context
Pyarrow has implemented the PyCapsule Interface on ChunkedArrays for the last couple versions. Ref apache/arrow#40818
If converting pandas objects to pyarrow always create non-chunked arrow objects, then perhaps we should implement __arrow_c_array__
instead?
cc @jorisvandenbossche as he implemented #56587