plt.figure(figsize=[20,20])
plt.subplots(411)
sns.countplot(x = ‘JobRole’,hue=’Attrition’,data = employee_df)
plt.subplots(412)
sns.countplot(x = ‘MaritalStatus’,hue=’Attrition’,data = employee_df)
plt.subplots(413)
sns.countplot(x = ‘JobInvolvement’,hue=’Attrition’,data = employee_df)
plt.subplots(414)
sns.countplot(x = ‘JobLevel’,hue=’Attrition’,data = employee_df)
plt.show()
Estou rodando no jupyter. Foi a única parte que tá dando problema. Vcs teriam alguma alternativa? Obrigado!!