Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/19439#discussion_r150449414
--- Diff: python/pyspark/ml/image.py ---
@@ -109,7 +109,7 @@ def toNDArray(self, image):
Converts an image to a one-dimensional array.
:param image: The image to be converted
- :rtype array: The image as a one-dimensional array
+ :return: array: The image as a one-dimensional array
--- End diff --
``:return: `numpy.ndarray` that's blabla``
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]