parameters: (self, method: builtins.str = "sort", dropna: bool = True)
return_statement: return self._column.distinct_count(method=method, dropna=dropna)
docstring: Return count of unique values for the column.
  
          Parameters
          ----------
          method : builtins.str, default "sort"
              Method used by cpp_distinct_count
          dropna : bool, default True
              Don't include NaN in the counts.
  
          Returns
          -------
          int
              Number of unique values in the column.
docstring_summary: Return count of unique values for the column.
docstring_tokens: Return count of unique values for the column .
function: def nunique(self, method: builtins.str = "sort", dropna: bool = True):
          """
          Return count of unique values for the column.
  
          Parameters
          ----------
          method : builtins.str, default "sort"
              Method used by cpp_distinct_count
          dropna : bool, default True
              Don't include NaN in the counts.
  
          Returns
          -------
          int
              Number of unique values in the column.
          """
          if self._column.null_count == len(self):
              return 0
          return self._column.distinct_count(method=method, dropna=dropna)
function_tokens: def nunique ( self , method : builtins . str = "sort" , dropna : bool = True ) : if self . _column . null_count == len ( self ) : return 0 return self . _column . distinct_count ( method = method , dropna = dropna )