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

import seaborn as sns

train = pd.read_csv('/kaggle/input/titanic/train.csv')
test = pd.read_csv('/kaggle/input/titanic/test.csv')
submission_df = pd.read_csv('/kaggle/input/titanic/gender_submission.csv')

data = pd.concat([train.assign(ind='train'), test.assign(ind='test')], ignore_index=True)

sns.barplot(x=data['Deck'], y=data['Survived'])