Titanic

class openschema.kaggle.Titanic

Titanic passenger list.

See also

The original Titanic competition.

PassengerId: Integral

Passenger ID.

Survived: Integral

Survival.

Values:
  • 0 = No

  • 1 = Yes

Pclass: Integral

Ticket class - proxy for socioeconomic status (SES).

Values:
  • 1 = first (Upper)

  • 2 = second (Middle)

  • 3 = third (Lower)

Name: str

Passenger name.

Sex: str

Sex.

Values:
  • male

  • female

Age: Real

Age in years.

Age is fractional if less than 1. If the age is estimated, it is in the form of xx.5.

SibSp: Integral

Number of siblings / spouses aboard the Titanic.

The dataset defines family relations in this way:

  • Sibling: brother, sister, stepbrother, stepsister

  • Spouse: husband, wife (mistresses and fiances were ignored)

Parch: Integral

Number of parents / children aboard the Titanic.

The dataset defines family relations in this way:

  • Parent: mother, father

  • Child: daughter, son, stepdaughter, stepson

Some children traveled only with a nanny, therefore parch=0 for them.

Ticket: str

Ticket number.

Fare: Real

Passenger fare.

Cabin: str

Cabin number.

Embarked: str

Port of Embarkation.

Values:
  • C = Cherbourg

  • Q = Queenstown

  • S = Southampton