Skip to content

Commit

Permalink
chore: don't double-count statewide
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdadams committed Oct 31, 2024
1 parent a917787 commit 9b11061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wmrc/yearly.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def statewide_metrics(county_year_df: pd.DataFrame) -> pd.DataFrame:
pd.DataFrame: Statewide yearly metrics.
"""

in_state_only = county_year_df.drop(index="Out of State", errors="ignore")
in_state_only = county_year_df.drop(index=["Out of State", "Statewide"], errors="ignore")

statewide_series = pd.Series()
statewide_series["statewide_msw_recycled"] = in_state_only["county_wide_msw_recycled"].sum()
Expand Down

0 comments on commit 9b11061

Please sign in to comment.