pyspark.sql.functions.count\_distinct ===================================== .. currentmodule:: pyspark.sql.functions .. autofunction:: count_distinct