polars.Series.approx_n_unique
-
Approximate count of unique values.
This is done using the HyperLogLog++ algorithm for cardinality estimation.
Series.approx_n_unique() → PythonLiteral | None
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.approx_n_unique.html