Teradata Package for Python Function Reference | 17.10 - desc - Teradata Package for Python
Teradata® Package for Python Function Reference
- Product
- Teradata Package for Python
- Release Number
- 17.10
- Published
- April 2022
- Language
- English (United States)
- Last Update
- 2022-08-19
- 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()