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

ASF GitHub Bot updated SPARK-45130:
-----------------------------------
    Labels: pull-request-available  (was: )

> Avoid Spark connect ML model to change input pandas dataframe
> -------------------------------------------------------------
>
>                 Key: SPARK-45130
>                 URL: https://issues.apache.org/jira/browse/SPARK-45130
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect, ML, PySpark
>    Affects Versions: 4.0.0
>            Reporter: Weichen Xu
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, to avoid data copy, Spark connect ML model directly changes input 
> pandas dataframe for appending prediction columns. But we can use 
> `pandas_df.copy(deep=False)` to shallow copy it and then append prediction 
> columns in copied dataframe. This is easier for user to use it.



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

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

Reply via email to