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

        return ops.Distinct(self).to_expr()