def _table_distinct(self): """ Compute set of unique rows/tuples occurring in this table """ op = _ops.Distinct(self) return op.to_expr()
def distinct(self) -> TableExpr: """Compute the set of unique rows in the table.""" from .. import operations as ops return ops.Distinct(self).to_expr()