melekergin / success-with-systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

success-with-systems

The code defines a function clean_job_title that standardizes job titles from a dataset. It first checks for special cases like 'Co-Owner' and 'Co-Founder' to ensure they are correctly identified. Then, it compares each title against a predefined list of known titles to find an exact match. If no match is found, it looks for the presence of the words 'Director' or 'Manager' and simplifies the title to one of these if applicable. Titles that don't match any criteria are returned as None. This function is then applied to all job titles in the dataset, creating a new column with the cleaned titles. The result is a dataset with standardized job titles, which makes it easier to categorize and analyze the data..

About


Languages

Language:Jupyter Notebook 100.0%