Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if a value is nan pandas

import numpy as np
import pandas as pd

val = np.nan

print(pd.isnull(val))
# True
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #check #nan #pandas
ADD COMMENT
Topic
Name
4+6 =