Skip to content

Commit

Permalink
remove inplace
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Nov 13, 2023
1 parent b897e87 commit 4feddd3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions offsets_db_data/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ def add_first_issuance_and_retirement_dates(
)

# Rename the merged columns for clarity
projects_with_dates.rename(
projects_with_dates = projects_with_dates.rename(
columns={
'transaction_date_x': 'first_issuance_at',
'transaction_date_y': 'first_retirement_at',
},
inplace=True,
}
)

return projects_with_dates
Expand Down

0 comments on commit 4feddd3

Please sign in to comment.