Dealing with NaN is cleaning code example
Example: how to check missing values in python
# Total missing values for each featureprint df.isnull().sum()Out:ST_NUM 2ST_NAME 0OWN_OCCUPIED 2NUM_BEDROOMS 4
# Total missing values for each featureprint df.isnull().sum()Out:ST_NUM 2ST_NAME 0OWN_OCCUPIED 2NUM_BEDROOMS 4