- skrub.datasets.fetch_employee_salaries(*, load_dataframe=True, drop_linked=True, drop_irrelevant=True, overload_job_titles=True, data_directory=None)#
Fetches the employee salaries dataset (regression), available at https://openml.org/d/42125
- Description of the dataset:
Annual salary information including gross pay and overtime pay for all active, permanent employees of Montgomery County, MD paid in calendar year 2016. This information will be published annually each year.
Drops columns “2016_gross_pay_received” and “2016_overtime_pay”, which are closely linked to “current_annual_salary”, the target.
Drops column “full_name”, which is usually irrelevant to the statistical analysis.
Uses the column underfilled_job_title to enrich the employee_position_title column, as it contains more detailed information about the job title.
- data_directory: pathlib.Path or str, optional
The directory where the dataset is stored.