image_output_1.png
import pandas as pd

titanic_train = pd.read_csv('../input/train.csv', index_col='PassengerId')
titanic_test = pd.read_csv('../input/test.csv', index_col='PassengerId')

combined = pd.concat((titanic_train, titanic_test), axis=0)
combined.info()