Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if a value is nan in python

# If you are doing any conditional operation and you want to check a if
# a single value is Null or not then you can use numpy's isna method.
np.isna(df[col][0])
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #check #nan #python
ADD COMMENT
Topic
Name
7+6 =