# Cross analysis left # piv_tb=pd.pivot_table(df, values="left", index=["department",
"salary"], columns=["time_spend_company"],aggfunc=np.mean) #
piv_tb=pd.pivot_table(df,
values="left",index=["department","salary"],columns=["number_project"],aggfunc=np.mean)
# piv_tb = pd.pivot_table(df, values="left", index=["promotion_last_5years",
"salary"], columns=["Work_accident"],aggfunc=np.mean) # print(piv_tb.index) #
sns.heatmap(piv_tb,vmax=1,vmin=0) # plt.show() #
sns.barplot(x="salary",y="left",hue="department",data=df) # plt.show() #
sl_s=df["satisfaction_level"] #
sns.barplot(range(len(sl_s)),sl_s.sort_values()) #
#sns.barplot(range(len(sl_s)),sl_s.sort_values().diff().diff()) # plt.show()

Technology
©2019-2020 Toolsou All rights reserved,
One is called “ Asking for the train ” A small village Finally got the train SparkSQL Achieve partition overlay write Character recognition technology of vehicle license plate based on Neural Network c++ Memory Pointer out of bounds detection mechanism _CrtMemBlockHeade Change one's mind ! Tesla starts to deliver made in China to European market Model 3Qt study 7—— Modal and modeless dialog boxes JavaScript Medium Call and ApplyJAVA Convert a string to a numeric type k8s Entry to give up --k8s Key concepts Count the number of letters (java Language implementation )