Skip to content

DOC: Error in Getting started tutorials > How do I read and write tabular data? #61412

Closed
@paintdog

Description

@paintdog

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/getting_started/intro_tutorials/02_read_write.html

Documentation problem

In the documentation for the Titanic dataset on this page:

https://pandas.pydata.org/docs/getting_started/intro_tutorials/02_read_write.html

It currently says:

"Survived: Indication whether passenger survived. 0 for yes and 1 for no."

This appears to be incorrect. The correct meaning is:

0 = did not survive
1 = survived

You can verify this, for example, with the entry for "McCarthy, Mr. Timothy J.", who is listed with a 0 in the dataset and was confirmed deceased (source: https://de.wikipedia.org/wiki/Passagiere_der_Titanic).

Thanks for your great work and for maintaining the documentation!

Suggested fix for documentation

Survived: Indication whether passenger survived. 0 for no and 1 for yes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions