Teradata Package for Python Function Reference | 17.10 - 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.10
Published
April 2022
Language
English (United States)
Last Update
2022-08-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]