spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imatiach-msft <...@git.apache.org>
Subject [GitHub] spark pull request #20294: [SPARK-23132][PYTHON][ML] Run doctests in ml.imag...
Date Wed, 17 Jan 2018 15:23:00 GMT
Github user imatiach-msft commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20294#discussion_r162082063
  
    --- Diff: python/pyspark/ml/image.py ---
    @@ -194,9 +194,9 @@ def readImages(self, path, recursive=False, numPartitions=-1,
             :return: a :class:`DataFrame` with a single column of "images",
                    see ImageSchema for details.
     
    -        >>> df = ImageSchema.readImages('python/test_support/image/kittens',
recursive=True)
    +        >>> df = ImageSchema.readImages('data/mllib/images/kittens', recursive=True)
             >>> df.count()
    -        4
    +        5
    --- End diff --
    
    nice catch!


---

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


Mime
View raw message