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/02/23 04:54:00 UTC

[jira] [Commented] (SPARK-38297) Fix mypy failure on DataFrame.to_numpy in pandas API on Spark

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

Apache Spark commented on SPARK-38297:
--------------------------------------

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

> Fix mypy failure on DataFrame.to_numpy in pandas API on Spark
> -------------------------------------------------------------
>
>                 Key: SPARK-38297
>                 URL: https://issues.apache.org/jira/browse/SPARK-38297
>             Project: Spark
>          Issue Type: Test
>          Components: PySpark
>    Affects Versions: 3.3.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>
> {code}
> starting mypy annotations test...
> annotations failed mypy checks:
> python/pyspark/pandas/generic.py:585: error: Incompatible return value type (got "Union[ndarray[Any, Any], ExtensionArray]", expected "ndarray[Any, Any]")  [return-value]
> Found 1 error in 1 file (checked 324 source files)
> 1
> {code}
> https://github.com/apache/spark/runs/5298261168?check_suite_focus=true



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