You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ruifeng Zheng (Jira)" <ji...@apache.org> on 2025/10/10 00:57:00 UTC

[jira] [Updated] (SPARK-53614) Introduce iterator API for ApplyInPandas

     [ https://issues.apache.org/jira/browse/SPARK-53614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruifeng Zheng updated SPARK-53614:
----------------------------------
    Description: 
introduce iterator api
{code:java}
def func(
    batches: Iterator[pandas.DataFrame]
) -> Iterator[pandas.DataFrame]:
    ...


df.groupby("id").applyInPandas(func, schema='v long')

{code}
 

The implementation should be similar to https://issues.apache.org/jira/browse/SPARK-49547

> Introduce iterator API for ApplyInPandas
> ----------------------------------------
>
>                 Key: SPARK-53614
>                 URL: https://issues.apache.org/jira/browse/SPARK-53614
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect, PySpark
>    Affects Versions: 4.1.0
>            Reporter: Ruifeng Zheng
>            Priority: Major
>
> introduce iterator api
> {code:java}
> def func(
>     batches: Iterator[pandas.DataFrame]
> ) -> Iterator[pandas.DataFrame]:
>     ...
> df.groupby("id").applyInPandas(func, schema='v long')
> {code}
>  
> The implementation should be similar to https://issues.apache.org/jira/browse/SPARK-49547



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org