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