Question: Using Pandas, we load a data set from Kaggle, as structured in the image below. Which command will return the total number of survivors?

  1. `sum(titanic['Survived'])`
  2. `[x for x in titanic['Survived'] if x == 1]`
  3. `len(titanic["Survived"])`
  4. `sum(titanic['Survived']==0)`

Answer: The correct answer of the above question is Option A:`sum(titanic['Survived'])`