You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/09/12 09:02:00 UTC

[jira] [Assigned] (SPARK-45130) Avoid Spark connect ML model to change input pandas dataframe

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

ASF GitHub Bot reassigned SPARK-45130:
--------------------------------------

    Assignee:     (was: Apache Spark)

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org