import pandas as pd
data = pd.read_csv('employee.csv')
data.head()
satisfaction_level | last_evaluation | number_project | average_montly_hours | time_spend_company | Work_accident | promotion_last_5years | department | salary | left | |
---|---|---|---|---|---|---|---|---|---|---|
0 | 0.38 | 0.53 | 2 | 157 | 3 | 0 | 0 | sales | low | 1 |
1 | 0.80 | 0.86 | 5 | 262 | 6 | 0 | 0 | sales | medium | 1 |
2 | 0.11 | 0.88 | 7 | 272 | 4 | 0 | 0 | sales | medium | 1 |
3 | 0.72 | 0.87 | 5 | 223 | 5 | 0 | 0 | sales | low | 1 |
4 | 0.37 | 0.52 | 2 | 159 | 3 | 0 | 0 | sales | low | 1 |