Skip to content

Commit

Permalink
Deprecate match_by_name
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Oct 7, 2021
1 parent 9de921c commit ebcc3dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion salary_app/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ebcc3dc

Please sign in to comment.