harupy commented on PR #39467:
URL: https://github.com/apache/spark/pull/39467#issuecomment-1376761925

   @HyukjinKwon Is it possible to add a name to each `pd.Series` that 
`iterator`?
   
   
   ```python
       # MLflow's pandas_udf looks like this:
   
       @pandas_udf(result_type)
       def udf(
           iterator: Iterator[Tuple[Union[pandas.Series, pandas.DataFrame], 
...]]
       ) -> Iterator[result_type_hint]:
           # iterator yields a pd.Series
           ...
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to