Teradata Package for Python Function Reference - notna - 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.notna = notna(self)
- Test for non NA values
The boolean complement of isna()
RETURNS:
DataFrameColumn
EXAMPLES:
df = DataFrame(...)
c1 = df.c1
df[c1.notna() == 1]
df[c1.notna() == 0]
# alternatively, True and False can be used
df[c1.notna() == True]
df[c1.notna() == False]