You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/04/08 08:25:00 UTC
[jira] [Commented] (SPARK-38822) Raise indexError when insert loc is out of bounds
[ https://issues.apache.org/jira/browse/SPARK-38822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519410#comment-17519410 ]
Apache Spark commented on SPARK-38822:
--------------------------------------
User 'Yikun' has created a pull request for this issue:
https://github.com/apache/spark/pull/36115
> Raise indexError when insert loc is out of bounds
> -------------------------------------------------
>
> Key: SPARK-38822
> URL: https://issues.apache.org/jira/browse/SPARK-38822
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 3.4.0
> Reporter: Yikun Jiang
> Priority: Major
>
>
> [https://github.com/apache/spark/blob/becda3339381b3975ed567c156260eda036d7a1b/python/pyspark/pandas/tests/indexes/test_base.py#L2179]
>
> we need to raise indexError when out of bounds for axis, and also change test case
>
> related:
> - numpy 1.20+ fix a issue: [https://github.com/numpy/numpy/commit/be11c06de7cf128c364c33dafbdecd2372f322e6]
> - panda 1.4.x using numpy insert: https://github.com/pandas-dev/pandas/commit/c021d33ecf0e096a186edb731964767e9288a875
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org