You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Prakhar Sandhu (Jira)" <ji...@apache.org> on 2022/07/17 18:23:00 UTC
[jira] [Commented] (SPARK-38637) pyspark.pandas.config.OptionError: "No such option: 'mode.chained_assignment'
[ https://issues.apache.org/jira/browse/SPARK-38637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567702#comment-17567702 ]
Prakhar Sandhu commented on SPARK-38637:
----------------------------------------
Is it resolved now?
> pyspark.pandas.config.OptionError: "No such option: 'mode.chained_assignment'
> -----------------------------------------------------------------------------
>
> Key: SPARK-38637
> URL: https://issues.apache.org/jira/browse/SPARK-38637
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 3.2.1
> Reporter: Prakhar Sandhu
> Priority: Major
>
> I replaced import pandas as pd to import pyspark.pandas as pd in my code.
> {code:java}
> pd.set_option("mode.chained_assignment", None) {code}
> The above command was working with pandas but this option is not available in pyspark.pandas .
> {code:java}
> pyspark.pandas.config.OptionError: "No such option: 'mode.chained_assignment'. Available options are [display.max_rows,
> compute.max_rows, compute.shortcut_limit, compute.ops_on_diff_frames, compute.default_index_type, compute.ordered_head,
> plotting.max_rows, plotting.sample_ratio, plotting.backend]" {code}
>
--
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