!pip install pygwalker
import pygwalker as pyg
import pandas as pd
import io
data = pd.read_csv('empdata.csv')
print(data.head())
EmployeeNumber Attrition BusinessTravel Department \ 0 1 Yes Travel_Rarely Sales 1 2 No Travel_Frequently Research & Development 2 4 Yes Travel_Rarely Research & Development 3 5 No Travel_Frequently Research & Development 4 7 No Travel_Rarely Research & Development DistanceFromHome JobRole JobSatisfaction MonthlyIncome \ 0 1 Sales Executive 4 5993 1 8 Research Scientist 2 5130 2 2 Laboratory Technician 3 2090 3 3 Research Scientist 3 2909 4 2 Laboratory Technician 2 3468 NumCompaniesWorked PercentSalaryHike TotalWorkingYears WorkLifeBalance \ 0 8 11 8 1 1 1 23 10 3 2 6 15 7 3 3 1 11 8 3 4 9 12 6 3 YearsAtCompany 0 6 1 10 2 0 3 8 4 2
pyg.walk(data)
Let's dive in and use these tools to create some exciting visualizations.
pyg.walk(data)
pyg.walk(data)