Skip to content

Commit

Permalink
Update titanic datset to remove index variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Mar 21, 2014
1 parent 19382ca commit a29a014
Show file tree
Hide file tree
Showing 2 changed files with 893 additions and 893 deletions.
2 changes: 1 addition & 1 deletion process/titanic.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def main():
df["alone"] = ~(df.parch + df.sibsp).astype(bool)
df = df.drop(["name", "ticket", "cabin"], axis=1)

df.to_csv("titanic.csv")
df.to_csv("titanic.csv", index=False)


def woman_child_or_man(passenger):
Expand Down
Loading

0 comments on commit a29a014

Please sign in to comment.