Teradata Package for Python Function Reference - 17.00 - notna - Teradata Package for Python

Teradata® Package for Python Function Reference

Product
Teradata Package for Python
Release Number
17.00
Release Date
April 2021
Content Type
Programming Reference
Publication ID
B700-4008-070K
Language
English (United States)
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]