{ "cells": [ { "cell_type": "code", "execution_count": 52, "id": "initial_id", "metadata": { "collapsed": true, "ExecuteTime": { "end_time": "2024-01-09T23:29:26.707212Z", "start_time": "2024-01-09T23:29:26.670908300Z" } }, "outputs": [ { "data": { "text/plain": " Age Attrition BusinessTravel DailyRate Department \\\n0 21 0.0 Travel_Rarely 391 Research_Development \n1 19 1.0 Travel_Rarely 528 Sales \n2 18 1.0 Travel_Rarely 230 Research_Development \n3 18 0.0 Travel_Rarely 812 Sales \n4 18 1.0 Travel_Frequently 1306 Sales \n\n DistanceFromHome Education EducationField EnvironmentSatisfaction \\\n0 15 College Life_Sciences High \n1 22 Below_College Marketing Very_High \n2 3 Bachelor Life_Sciences High \n3 10 Bachelor Medical Very_High \n4 5 Bachelor Marketing Medium \n\n Gender ... PerformanceRating RelationshipSatisfaction StockOptionLevel \\\n0 Male ... Excellent Very_High 0 \n1 Male ... Excellent Very_High 0 \n2 Male ... Excellent High 0 \n3 Female ... Excellent Low 0 \n4 Male ... Excellent Very_High 0 \n\n TotalWorkingYears TrainingTimesLastYear WorkLifeBalance YearsAtCompany \\\n0 0 6 Better 0 \n1 0 2 Good 0 \n2 0 2 Better 0 \n3 0 2 Better 0 \n4 0 3 Better 0 \n\n YearsInCurrentRole YearsSinceLastPromotion YearsWithCurrManager \n0 0 0 0 \n1 0 0 0 \n2 0 0 0 \n3 0 0 0 \n4 0 0 0 \n\n[5 rows x 31 columns]", "text/html": "
\n | Age | \nAttrition | \nBusinessTravel | \nDailyRate | \nDepartment | \nDistanceFromHome | \nEducation | \nEducationField | \nEnvironmentSatisfaction | \nGender | \n... | \nPerformanceRating | \nRelationshipSatisfaction | \nStockOptionLevel | \nTotalWorkingYears | \nTrainingTimesLastYear | \nWorkLifeBalance | \nYearsAtCompany | \nYearsInCurrentRole | \nYearsSinceLastPromotion | \nYearsWithCurrManager | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n21 | \n0.0 | \nTravel_Rarely | \n391 | \nResearch_Development | \n15 | \nCollege | \nLife_Sciences | \nHigh | \nMale | \n... | \nExcellent | \nVery_High | \n0 | \n0 | \n6 | \nBetter | \n0 | \n0 | \n0 | \n0 | \n
1 | \n19 | \n1.0 | \nTravel_Rarely | \n528 | \nSales | \n22 | \nBelow_College | \nMarketing | \nVery_High | \nMale | \n... | \nExcellent | \nVery_High | \n0 | \n0 | \n2 | \nGood | \n0 | \n0 | \n0 | \n0 | \n
2 | \n18 | \n1.0 | \nTravel_Rarely | \n230 | \nResearch_Development | \n3 | \nBachelor | \nLife_Sciences | \nHigh | \nMale | \n... | \nExcellent | \nHigh | \n0 | \n0 | \n2 | \nBetter | \n0 | \n0 | \n0 | \n0 | \n
3 | \n18 | \n0.0 | \nTravel_Rarely | \n812 | \nSales | \n10 | \nBachelor | \nMedical | \nVery_High | \nFemale | \n... | \nExcellent | \nLow | \n0 | \n0 | \n2 | \nBetter | \n0 | \n0 | \n0 | \n0 | \n
4 | \n18 | \n1.0 | \nTravel_Frequently | \n1306 | \nSales | \n5 | \nBachelor | \nMarketing | \nMedium | \nMale | \n... | \nExcellent | \nVery_High | \n0 | \n0 | \n3 | \nBetter | \n0 | \n0 | \n0 | \n0 | \n
5 rows × 31 columns
\n