application_vnd.jupyter.stderr_output_1.png
import pandas as pd

titanic = pd.read_csv('../input/train.csv')

titanic['Alone'] = titanic.SibSp + titanic.Parch

titanic['Survivor'] = titanic.Survived.map({0: 'No', 1: 'Yes'})
titanic.head()