Yicong Huang created SPARK-55221:
------------------------------------
Summary: Add PandasBatchTransformer.to_arrow and remove
_create_struct_array
Key: SPARK-55221
URL: https://issues.apache.org/jira/browse/SPARK-55221
Project: Spark
Issue Type: Sub-task
Components: PySpark
Affects Versions: 4.2.0
Reporter: Yicong Huang
Add a `to_arrow` method to PandasBatchTransformer that converts a pandas
DataFrame directly to Arrow format.
This consolidates the pandas-to-arrow conversion logic currently spread across
serializer methods like `_create_struct_array` and `_create_array`, enabling
simpler composition with existing ArrowBatchTransformer methods.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]