Skip to content

Commit

Permalink
Minor enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloarosado committed Mar 7, 2025
1 parent 9ed7347 commit 8f13ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etl/steps/data/meadow/space/2025-03-04/object_launches.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def run() -> None:
},
errors="raise",
)
tb["year"] = tb.year.str[0:4]
tb["year"] = tb["year"].str[0:4]

# Add the number of launches for each country and year (and add metadata to the new column).
tb = tb.groupby(["country", "year"], as_index=False).size().rename(columns={"size": "annual_launches"})
Expand Down

0 comments on commit 8f13ff1

Please sign in to comment.