We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed1a69 commit 44331deCopy full SHA for 44331de
spec/API_specification/dataframe_api/column_object.py
@@ -750,6 +750,17 @@ def var(
750
"""
751
...
752
753
+ def n_unique(self, *, skip_nulls: bool = True) -> Scalar:
754
+ """Return number of unique values.
755
+
756
+ Notes
757
+ -----
758
+ If the original column(s) contain multiple `'NaN'` values, then
759
+ they only count as one distinct value.
760
+ Likewise for null values (if ``skip_nulls=False``).
761
+ """
762
+ ...
763
764
def cumulative_max(self) -> Self:
765
"""Reduction returns a Column.
766
0 commit comments