Commit 7cd531bb authored by Tobias Schlauch's avatar Tobias Schlauch
Browse files

Put input data file into a separate directory

parent 1a176093
......@@ -20,7 +20,7 @@ def died_with_age(row):
return today.year - born.year - ((today.month, < (born.month,"ggplot")
df = pd.read_json("astronauts.json")
df = pd.read_json("data/astronauts.json")
df = df.rename(index=str, columns={"astronaut": "astronaut_id", "astronautLabel": "name","birthplaceLabel": "birthplace","sex_or_genderLabel": "sex_or_gender"})
df = df.set_index("astronaut_id")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment