How to select specific columns
When dataframe comes with a variety of types, sk.select_dtypes() will be helpful.
train.select_dtypes(np.int64)
for i, col in enumerate(train.select_dtypes('float')):
When dataframe comes with a variety of types, sk.select_dtypes() will be helpful.
train.select_dtypes(np.int64)
for i, col in enumerate(train.select_dtypes('float')):