Gentle bump. Not a big deal if I need to use the API above to do so, but bump in case someone has a better way.
On Fri, Jun 9, 2023 at 4:34 PM Li Jin <ice.xell...@gmail.com> wrote: > Hello, > > I am looking for the best ways for converting Pandas DataFrame <-> Struct > Array. > > Currently I have: > > pa.RecordBatch.from_pandas(df).to_struct_array() > > and > > pa.RecordBatch.from_struct_array(s_array).to_pandas() > > - I wonder if there is a direct way to go from DataFrame <-> Struct Array > without going through RecordBatch? > > Thanks, > Li >