emma-oc / ds-class-intro

6 stars 68 forks source link

Homework03 #87

Closed Croocoodile closed 4 years ago

Croocoodile commented 4 years ago

hw3

emma-oc commented 4 years ago

Good job, one simple note: in ex.7 your results of the ratio sum up to > 1 since you used total = len(emp.dropna()), which dropped rows that have value in race and gender by missing other columns. You can add subset argument in your dropna to make sure you only drop rows missing these two variables.