sort_descending

sort_descending sorts rows in a table in a largest to smallest order based on the column(s) listed in the order_by argument.

Syntax

Parameters

ParameterTypeDescription
order_byUnion[str, Sequence[str]]

The column(s) used for sorting.

Returns

A new table where rows in a table are sorted in a largest to smallest order based on the column(s) listed in the order_by argument.

Examples