You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yikun Jiang (Jira)" <ji...@apache.org> on 2022/04/07 15:41:00 UTC

[jira] [Created] (SPARK-38822) Raise indexError when insert loc is out of bounds

Yikun Jiang created SPARK-38822:
-----------------------------------

             Summary: 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


 

[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]

 



--
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