text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

data = pd.read_csv('/kaggle/input/hr-analytics-job-change-of-data-scientists/aug_train.csv')

data.isna().sum()

import seaborn as sns
import matplotlib.pyplot as plt

data.gender.unique()
data.enrolled_university.unique()
data.education_level.unique()
data.major_discipline.unique()
data.experience.unique()
data.company_size.unique()
data.company_type.unique()
data.last_new_job.unique()

data.fillna({'gender': 'Other', 'enrolled_university': 'no_enrollment', 'education_level': 'Other', 'major_discipline': 'Other', 'experience': '0', 'company_size': '<10', 'company_type': 'Other', 'last_new_job': 'never'}, inplace=True)

data.isna().sum()

data.experience.unique()

data.experience.replace({'>20': '22', '<1': '0'}, inplace=True)

data.experience.unique()

data.company_size.unique()