week12
So I start to dig my data.
firstly, I start to think the factor that I thought about the dataset, and then come up with the idea.
Get Charlotte Cui’s stories in your inbox
Join Medium for free to get updates from this writer.
I want to start with the heatmap to see the overall observation.
correlation = data.corr()
plt.figure(figsize=(10,10))
sns.heatmap(correlation, vmax=1, square=True,annot=True,cmap='cubehelix')
plt.title('Correlation between different fearures')which looks like this:
<matplotlib.text.Text at 0x7f423139ca90>And I got some key point:
- Satisfaction level reduces as people spend more time in the company. Also, interestingly when they work on more number of projects.
- 2. Evaluation score is positively correlated with spending more montly hours and number of projects.
- 3. As satisfaction level reduces, people tend to leave company.








