Skip to content

Commit

Permalink
Also ensure school summary is unique
Browse files Browse the repository at this point in the history
  • Loading branch information
stefpiatek committed Sep 7, 2023
1 parent cbed047 commit 9b7e92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rred_reports/reports/schools.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def get_outcome_from_summary(outcome_df: pd.DataFrame, outcome_type: str) -> int
return 0

filtered = filter_by_entry_and_exit(school_df, report_year)
filtered_summary_table = filtered[columns_used].copy()
filtered_summary_table = filtered[columns_used].drop_duplicates().copy()
# let's try and reduce the pain with exit outcome labels
filtered_summary_table["exit_outcome"] = filtered_summary_table["exit_outcome"].str.lower().str.strip()

Expand Down

0 comments on commit 9b7e92f

Please sign in to comment.