diff --git a/backlog/HigherEduVsSalary.ipynb b/backlog/HigherEduVsSalary.ipynb new file mode 100644 index 0000000..a4afbd9 --- /dev/null +++ b/backlog/HigherEduVsSalary.ipynb @@ -0,0 +1,3253 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Higher Education Vs Salary Of Developers: EDA and Analysis\n", + " Stack_Overflow 2018 Dataset\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Introduction\n", + "This feature aims to analyze the correlation between higher education levels and the salaries of developers surveyed in 2018. The analysis will help understand how different educational qualifications influence earning potential in the developer community." + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "#importing modules\n", + "import numpy as np \n", + "import pandas as pd\n", + "import matplotlib.pyplot as plt\n", + "%matplotlib inline\n", + "import seaborn as sns" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + " | Respondent | \n", + "Hobby | \n", + "OpenSource | \n", + "Country | \n", + "Student | \n", + "Employment | \n", + "FormalEducation | \n", + "UndergradMajor | \n", + "CompanySize | \n", + "DevType | \n", + "... | \n", + "Exercise | \n", + "Gender | \n", + "SexualOrientation | \n", + "EducationParents | \n", + "RaceEthnicity | \n", + "Age | \n", + "Dependents | \n", + "MilitaryUS | \n", + "SurveyTooLong | \n", + "SurveyEasy | \n", + "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", + "1 | \n", + "Yes | \n", + "No | \n", + "Kenya | \n", + "No | \n", + "Employed part-time | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Mathematics or statistics | \n", + "20 to 99 employees | \n", + "Full-stack developer | \n", + "... | \n", + "3 - 4 times per week | \n", + "Male | \n", + "Straight or heterosexual | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Black or of African descent | \n", + "25 - 34 years old | \n", + "Yes | \n", + "NaN | \n", + "The survey was an appropriate length | \n", + "Very easy | \n", + "
1 | \n", + "3 | \n", + "Yes | \n", + "Yes | \n", + "United Kingdom | \n", + "No | \n", + "Employed full-time | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "A natural science (ex. biology, chemistry, phy... | \n", + "10,000 or more employees | \n", + "Database administrator;DevOps specialist;Full-... | \n", + "... | \n", + "Daily or almost every day | \n", + "Male | \n", + "Straight or heterosexual | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "White or of European descent | \n", + "35 - 44 years old | \n", + "Yes | \n", + "NaN | \n", + "The survey was an appropriate length | \n", + "Somewhat easy | \n", + "
2 | \n", + "4 | \n", + "Yes | \n", + "Yes | \n", + "United States | \n", + "No | \n", + "Employed full-time | \n", + "Associate degree | \n", + "Computer science, computer engineering, or sof... | \n", + "20 to 99 employees | \n", + "Engineering manager;Full-stack developer | \n", + "... | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "
3 | \n", + "5 | \n", + "No | \n", + "No | \n", + "United States | \n", + "No | \n", + "Employed full-time | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "100 to 499 employees | \n", + "Full-stack developer | \n", + "... | \n", + "I don't typically exercise | \n", + "Male | \n", + "Straight or heterosexual | \n", + "Some college/university study without earning ... | \n", + "White or of European descent | \n", + "35 - 44 years old | \n", + "No | \n", + "No | \n", + "The survey was an appropriate length | \n", + "Somewhat easy | \n", + "
4 | \n", + "7 | \n", + "Yes | \n", + "No | \n", + "South Africa | \n", + "Yes, part-time | \n", + "Employed full-time | \n", + "Some college/university study without earning ... | \n", + "Computer science, computer engineering, or sof... | \n", + "10,000 or more employees | \n", + "Data or business analyst;Desktop or enterprise... | \n", + "... | \n", + "3 - 4 times per week | \n", + "Male | \n", + "Straight or heterosexual | \n", + "Some college/university study without earning ... | \n", + "White or of European descent | \n", + "18 - 24 years old | \n", + "Yes | \n", + "NaN | \n", + "The survey was an appropriate length | \n", + "Somewhat easy | \n", + "
5 | \n", + "8 | \n", + "Yes | \n", + "No | \n", + "United Kingdom | \n", + "No | \n", + "Employed full-time | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "10 to 19 employees | \n", + "Back-end developer;Database administrator;Fron... | \n", + "... | \n", + "1 - 2 times per week | \n", + "Male | \n", + "Straight or heterosexual | \n", + "Secondary school (e.g. American high school, G... | \n", + "White or of European descent | \n", + "18 - 24 years old | \n", + "No | \n", + "NaN | \n", + "The survey was an appropriate length | \n", + "Somewhat easy | \n", + "
6 | \n", + "9 | \n", + "Yes | \n", + "Yes | \n", + "United States | \n", + "No | \n", + "Employed full-time | \n", + "Some college/university study without earning ... | \n", + "Computer science, computer engineering, or sof... | \n", + "10,000 or more employees | \n", + "Back-end developer;Front-end developer;Full-st... | \n", + "... | \n", + "I don't typically exercise | \n", + "Male | \n", + "Straight or heterosexual | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "White or of European descent | \n", + "18 - 24 years old | \n", + "No | \n", + "No | \n", + "The survey was an appropriate length | \n", + "Somewhat easy | \n", + "
7 | \n", + "10 | \n", + "Yes | \n", + "Yes | \n", + "Nigeria | \n", + "No | \n", + "Employed full-time | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "10 to 19 employees | \n", + "Designer;Front-end developer;QA or test developer | \n", + "... | \n", + "1 - 2 times per week | \n", + "Female | \n", + "NaN | \n", + "Primary/elementary school | \n", + "Black or of African descent | \n", + "25 - 34 years old | \n", + "No | \n", + "NaN | \n", + "The survey was too long | \n", + "Somewhat difficult | \n", + "
8 | \n", + "11 | \n", + "Yes | \n", + "Yes | \n", + "United States | \n", + "No | \n", + "Employed full-time | \n", + "Some college/university study without earning ... | \n", + "Fine arts or performing arts (ex. graphic desi... | \n", + "100 to 499 employees | \n", + "Back-end developer;C-suite executive (CEO, CTO... | \n", + "... | \n", + "I don't typically exercise | \n", + "Male | \n", + "Straight or heterosexual | \n", + "Some college/university study without earning ... | \n", + "White or of European descent | \n", + "35 - 44 years old | \n", + "Yes | \n", + "No | \n", + "The survey was an appropriate length | \n", + "Very easy | \n", + "
9 | \n", + "16 | \n", + "No | \n", + "Yes | \n", + "India | \n", + "No | \n", + "Employed full-time | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "500 to 999 employees | \n", + "Designer | \n", + "... | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "
10 rows × 129 columns
\n", + "\n", + " | FormalEducation | \n", + "UndergradMajor | \n", + "SalaryType | \n", + "ConvertedSalary | \n", + "
---|---|---|---|---|
1 | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "A natural science (ex. biology, chemistry, phy... | \n", + "Yearly | \n", + "70841.0 | \n", + "
4 | \n", + "Some college/university study without earning ... | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "21426.0 | \n", + "
5 | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "NaN | \n", + "41671.0 | \n", + "
6 | \n", + "Some college/university study without earning ... | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "120000.0 | \n", + "
8 | \n", + "Some college/university study without earning ... | \n", + "Fine arts or performing arts (ex. graphic desi... | \n", + "Yearly | \n", + "250000.0 | \n", + "
\n", + " | FormalEducation | \n", + "UndergradMajor | \n", + "SalaryType | \n", + "ConvertedSalary | \n", + "
---|---|---|---|---|
1 | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "A natural science (ex. biology, chemistry, phy... | \n", + "Yearly | \n", + "70841.0 | \n", + "
4 | \n", + "Some college/university study without earning ... | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "21426.0 | \n", + "
6 | \n", + "Some college/university study without earning ... | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "120000.0 | \n", + "
8 | \n", + "Some college/university study without earning ... | \n", + "Fine arts or performing arts (ex. graphic desi... | \n", + "Yearly | \n", + "250000.0 | \n", + "
17 | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "A business discipline (ex. accounting, finance... | \n", + "Monthly | \n", + "47904.0 | \n", + "
20 | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Another engineering discipline (ex. civil, ele... | \n", + "Yearly | \n", + "95968.0 | \n", + "
22 | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "Monthly | \n", + "420.0 | \n", + "
24 | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "10958.0 | \n", + "
25 | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "A natural science (ex. biology, chemistry, phy... | \n", + "Monthly | \n", + "51408.0 | \n", + "
26 | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "72611.0 | \n", + "
\n", + " | FormalEducation | \n", + "UndergradMajor | \n", + "SalaryType | \n", + "ConvertedSalary | \n", + "NetSalary | \n", + "
---|---|---|---|---|---|
1 | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "A natural science (ex. biology, chemistry, phy... | \n", + "Yearly | \n", + "70841.0 | \n", + "70841.0 | \n", + "
4 | \n", + "Some college/university study without earning ... | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "21426.0 | \n", + "21426.0 | \n", + "
6 | \n", + "Some college/university study without earning ... | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "120000.0 | \n", + "120000.0 | \n", + "
8 | \n", + "Some college/university study without earning ... | \n", + "Fine arts or performing arts (ex. graphic desi... | \n", + "Yearly | \n", + "250000.0 | \n", + "250000.0 | \n", + "
17 | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "A business discipline (ex. accounting, finance... | \n", + "Monthly | \n", + "47904.0 | \n", + "574848.0 | \n", + "
20 | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Another engineering discipline (ex. civil, ele... | \n", + "Yearly | \n", + "95968.0 | \n", + "95968.0 | \n", + "
22 | \n", + "Bachelor’s degree (BA, BS, B.Eng., etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "Monthly | \n", + "420.0 | \n", + "5040.0 | \n", + "
24 | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "10958.0 | \n", + "10958.0 | \n", + "
25 | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "A natural science (ex. biology, chemistry, phy... | \n", + "Monthly | \n", + "51408.0 | \n", + "616896.0 | \n", + "
26 | \n", + "Master’s degree (MA, MS, M.Eng., MBA, etc.) | \n", + "Computer science, computer engineering, or sof... | \n", + "Yearly | \n", + "72611.0 | \n", + "72611.0 | \n", + "