You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2018/06/02 03:59:00 UTC

[jira] [Commented] (SPARK-24454) ml.image doesn't have default imports

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

Hyukjin Kwon commented on SPARK-24454:
--------------------------------------

Missing \_\_all\_\_ is orthogonal though since you are explicitly accessing it, isn't it? It's simply because that's not imported in ml/\_\_init\_\_.py.

> ml.image doesn't have default imports
> -------------------------------------
>
>                 Key: SPARK-24454
>                 URL: https://issues.apache.org/jira/browse/SPARK-24454
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, PySpark
>    Affects Versions: 2.3.0
>            Reporter: Xiangrui Meng
>            Priority: Major
>
> {code:java}
> from pyspark import ml
> ml.image{code}
> The ml.image line will fail because we don't have __all__ defined there. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org