Github user WeichenXu123 commented on a diff in the pull request:
https://github.com/apache/spark/pull/22349#discussion_r216117396
--- Diff: python/pyspark/ml/image.py ---
@@ -207,6 +207,9 @@ def readImages(self, path, recursive=False,
numPartitions=-1,
.. note:: If sample ratio is less than 1, sampling uses a
PathFilter that is efficient but
potentially non-deterministic.
+ .. note:: Deprecated in 2.4.0. Use
`spark.read.format("image").load(path)` instead and
--- End diff --
added.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]