-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: make a shared include for describing the Titanic data
Just a refactor; the net result should be the same.
- Loading branch information
Showing
6 changed files
with
48 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.. raw:: html | ||
|
||
<div data-toggle="collapse" href="#collapsedata" role="button" aria-expanded="false" aria-controls="collapsedata"> | ||
<span class="badge badge-dark">Titanic data</span> | ||
</div> | ||
<div class="collapse" id="collapsedata"> | ||
<div class="card-body"> | ||
<p class="card-text"> | ||
|
||
This tutorial uses the Titanic data set, stored as CSV. The data | ||
consists of the following data columns: | ||
|
||
- PassengerId: Id of every passenger. | ||
- Survived: This feature have value 0 and 1. 0 for not survived and 1 | ||
for survived. | ||
- Pclass: There are 3 classes: Class 1, Class 2 and Class 3. | ||
- Name: Name of passenger. | ||
- Sex: Gender of passenger. | ||
- Age: Age of passenger. | ||
- SibSp: Indication that passenger have siblings and spouse. | ||
- Parch: Whether a passenger is alone or have family. | ||
- Ticket: Ticket number of passenger. | ||
- Fare: Indicating the fare. | ||
- Cabin: The cabin of passenger. | ||
- Embarked: The embarked category. | ||
|
||
.. raw:: html | ||
|
||
</p> | ||
<a href="https://github.com/pandas-dev/pandas/tree/master/doc/data/titanic.csv" class="btn btn-dark btn-sm">To raw data</a> | ||
</div> | ||
</div> |