Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if a value in dataframe is nan

#return a subset of the dataframe where the column name value == NaN 
df.loc[df['column name'].isnull() == True] 
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #check #dataframe #nan
ADD COMMENT
Topic
Name
4+6 =