I have a data frame that looks like below
Gender Education 0 Male Bachelors 1 Female Bachelors 2 Female Masters 3 Other Doctors