diff --git a/salary_app/analysis.py b/salary_app/analysis.py index 2a69a54..333c378 100644 --- a/salary_app/analysis.py +++ b/salary_app/analysis.py @@ -3,7 +3,8 @@ import pandas as pd from scipy.stats import binned_statistic - +''' +DEPRECATED. SEE etl.get_unique_names for name matching def match_by_name(data_dict: Dict[str, pd.DataFrame], fy_current: str, fy_old: str) -> pd.DataFrame: """ @@ -34,6 +35,7 @@ def match_by_name(data_dict: Dict[str, pd.DataFrame], fy_current: str, df_merge['Annual Salary at Full FTE_B'].fillna(df_old['Annual Salary at Full FTE'], inplace=True) return df_merge +''' def compute_bin_averages(salary_arr: list, percent_arr: list, index, bins,