nulls_last

ColExpr.nulls_last() ColExpr[source]

Specifies that nulls are placed at the end of the ordering.

This does not mean that nulls are considered to be greater than any other element. I.e. if both nulls_last and descending are given, nulls will still be placed at the end.

If neither nulls_first nor nulls_last is specified, the position of nulls is backend-dependent.

Can only be used in expressions given to the arrange verb or as as an arrange keyword argument.