Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find columns with missing values pandas

cols_with_missing = [col for col in X_train.columns
                     if X_train[col].isnull().any()]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #columns #missing #values #pandas
ADD COMMENT
Topic
Name
9+6 =