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/07/05 03:03:00 UTC

[jira] [Commented] (SPARK-39611) PySpark support numpy 1.23.X

    [ https://issues.apache.org/jira/browse/SPARK-39611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562338#comment-17562338 ] 

Apache Spark commented on SPARK-39611:
--------------------------------------

User 'Yikun' has created a pull request for this issue:
https://github.com/apache/spark/pull/37078

> PySpark support numpy 1.23.X
> ----------------------------
>
>                 Key: SPARK-39611
>                 URL: https://issues.apache.org/jira/browse/SPARK-39611
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build
>    Affects Versions: 3.4.0
>            Reporter: Yikun Jiang
>            Priority: Major
>
> {code:java}
> ======================================================================
> ERROR [2.102s]: test_arithmetic_op_exceptions (pyspark.pandas.tests.test_series_datetime.SeriesDateTimeTest) 
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/pandas/tests/test_series_datetime.py", line 99, in test_arithmetic_op_exceptions self.assertRaisesRegex(TypeError, expected_err_msg, lambda: other / psser) File "/usr/lib/python3.9/unittest/case.py", line 1276, in assertRaisesRegex return context.handle('assertRaisesRegex', args, kwargs)
> File "/usr/lib/python3.9/unittest/case.py", line 201, in handle callable_obj(*args, **kwargs)
> File "/__w/spark/spark/python/pyspark/pandas/tests/test_series_datetime.py", line 99, in <lambda> self.assertRaisesRegex(TypeError, expected_err_msg, lambda: other / psser)
> File "/__w/spark/spark/python/pyspark/pandas/base.py", line 465, in __array_ufunc__ 
> raise NotImplementedError(NotImplementedError: pandas-on-Spark objects currently do not support <ufunc 'divide'>.
> ----------------------------------------------------------------------
> {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