Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/19439#discussion_r150449520 --- Diff: python/pyspark/ml/image.py --- @@ -129,7 +129,7 @@ def toImage(self, array, origin=""): :param array array: The array to convert to image :param str origin: Path to the image, optional - :rtype object: Two dimensional image + :return: object: Two dimensional image --- End diff -- ``:return: a :class:`Row` of blabla``
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org