I want to generate some summary statistics and look at the correlation between the variables of my dataset to remove certain features (very low variance, very high correlation).
The dataset is the famous Titanic dataset from Kaggle, where I have a CSV for training & testing with both X and y and a second "prediction" CSV for which I only have X.
My question is, can I concatenate the two datasets (train/test + prediction) to generate the summary statistics and calculate the correlations between the variables of X or should I only use the training set?