ibis.desc

ibis.desc(expr)

Create a sort key (when used in sort_by) by the passed array expression or column name.

Parameters:

expr : array expression or string

Can be a column name in the table being sorted

Examples

result = (self.table.group_by(‘g’)
.size(‘count’) .sort_by(ibis.desc(‘count’)))