Created
July 9, 2018 10:57
-
-
Save siakon89/135f641a061e0d7a2484bca5edad7656 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check for missing values | |
import pandas as pd | |
for idx, feature in enumerate(train): | |
if pd.isnull(feature).any(): | |
print('Found NaN value in feature %d' % idx) | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment