text_plain_output_1.png
import pandas as pd

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

train = pd.read_csv('/kaggle/input/spaceship-titanic/sample_submission.csv')
test = pd.read_csv('/kaggle/input/spaceship-titanic/train.csv')
submission = pd.read_csv('/kaggle/input/spaceship-titanic/test.csv')
RANDOM_STATE = 12
FOLDS = 5
STRATEGY = 'median'

print(f'\x1b[94mNumber of rows in train data: {train.shape[0]}')
print(f'\x1b[94mNumber of columns in train data: {train.shape[1]}')
print(f'\x1b[94mNumber of values in train data: {train.count().sum()}')
print(f'\x1b[94mNumber missing values in train data: {sum(train.isna().sum())}')