text_html_output_1.png
import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

train_data = pd.read_csv('../input/30-days-of-ml/train.csv')
test_data = pd.read_csv('../input/30-days-of-ml/test.csv')
sample = pd.read_csv('../input/30-days-of-ml/sample_submission.csv', index_col='id')

cat_features = [feature for feature in train_data.columns if 'cat' in feature]
cont_features = [feature for feature in train_data.columns if 'cont' in feature]
print(f'categorical features are : {cat_features};  numerical features are  : {cont_features}')