QuestionQ64

VerifiedTrain and use machine learning models

Which Python function uses HyperLogLog to return an approximate distinct cardinality for the input?

Explanation

approx_count_distinct() estimates the distinct cardinality of a column using the HyperLogLog++ algorithm. approx_count_distinct documentation Spark built-in functions

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!