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

Sean R. Owen resolved SPARK-41718.
----------------------------------
    Resolution: Duplicate

> Numpy 1.24 breaks PySpark due to use of `np.bool` instead of `np.bool_` in 
> many places
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-41718
>                 URL: https://issues.apache.org/jira/browse/SPARK-41718
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 3.3.0
>            Reporter: Phillip Cloud
>            Priority: Major
>
> In numpy 1.24, `numpy.bool` was removed (it was deprecated prior to 1.24). 
> This causes many APIs in pyspark to stop working because an AttributeError is 
> raised. The alternative is to use `numpy.bool_` (trailing underscore).



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