select_distinct

The select_distinct method creates a new table containing all of the unique values for a set of key columns.

When the select_distinct method is used on multiple columns, it looks for distinct sets of values in the selected columns.

Syntax

Parameters

ParameterTypeDescription
formulasUnion[str, Sequence[str]]

Key columns.

Returns

A new table containing all of the unique values for a set of key columns.

Examples