pyspark.sql.functions.approxCountDistinct¶
-
pyspark.sql.functions.
approxCountDistinct
(col: ColumnOrName, rsd: Optional[float] = None) → pyspark.sql.column.Column[source]¶ New in version 1.3.0.
Changed in version 3.4.0: Supports Spark Connect.
Deprecated since version 2.1.0: Use
approx_count_distinct()
instead.