Teradata Package for Python Function Reference - desc - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.

Teradata® Package for Python Function Reference

Product
Teradata Package for Python
Release Number
17.00
Published
November 2021
Language
English (United States)
Last Update
2021-11-19
lifecycle
previous
Product Category
Teradata Vantage
teradataml.dataframe.sql.DataFrameColumn.desc = desc(self)
DESCRIPTION:
    Generates a new _SQLColumnExpression which sorts the actual
    expression in Descending Order.
    Note:
        This function is supported only while sorting the Data. This
        function is neither supported in projection nor supported in
        filtering the Data.
 
RAISES:
    None
 
RETURNS:
    An object of type _SQLColumnExpression.
 
EXAMPLES:
    from teradataml import *
    load_example_data("dataframe","sales")
    df = DataFrame.from_table('sales')
    df.Feb.desc()