image_output_1.png
import pandas as pd

data = pd.read_csv('../input/titanic/train_and_test2.csv')

data = data.rename(columns={'2urvived': 'Survived'})
data = data.drop(columns=['Passengerid', 'zero'])
for i in range(1, 19):
    data = data.drop(columns=f'zero.{i}')
data.head(10)