├── .DS_Store
├── .gitattributes
├── .ipynb_checkpoints
└── Developer's Profile of India-checkpoint.ipynb
├── .travis.yml
├── Developer's Profile of India.ipynb
├── LICENSE
├── README.md
├── __pycache__
└── test_nb.cpython-37-pytest-5.4.1.pyc
├── dataset
├── 2018
│ └── survey_results_public.csv
├── 2019
│ ├── .DS_Store
│ └── survey_results_public.csv
└── .DS_Store
├── requirement.txt
└── test_nb.py
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vivanks/What-are-developers-into/92ceceb3fc7fa8e45d99f1e9bd0e04da905386e1/.DS_Store
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 | *.csv filter=lfs diff=lfs merge=lfs -text
4 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: python
2 | install:
3 | - sudo apt-get update
4 | # We do this conditionally because it saves us some downloading if the
5 | # version is the same.
6 | - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
7 | wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
8 | else
9 | wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
10 | fi
11 | - bash miniconda.sh -b -p $HOME/miniconda
12 | - export PATH="$HOME/miniconda/bin:$PATH"
13 | - hash -r
14 | - conda config --set always_yes yes --set changeps1 no
15 | - conda update -q conda
16 | # Useful for debugging any issues with conda
17 | - conda info -a
18 |
19 | - conda env create -n test-environment python=$TRAVIS_PYTHON_VERSION -f environment.yml
20 | - source activate test-environment
21 | script:
22 | - py.test
23 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Vivank Sharma
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # What-are-developers-into
2 | Exploring interests of developers with analysis and comparison of the trends with Indian developers
3 |
4 |
5 | ### Table of Contents
6 |
7 | 1. [Installation](#installation)
8 | 2. [Project Motivation](#motivation)
9 | 3. [File Description](#files)
10 | 4. [Results](#results)
11 |
12 | ## Installation
13 |
14 | This code runs with Python version 3.* and requires some libraries, to install theses libraries you will need to execute:
15 | ` pip install -r requirements.txt `
16 |
17 | You will need to download Stackoverflow’s 2018 and 2019 Annual Developer Survey and put in specific folders. You can find the data to download [here](https://insights.stackoverflow.com/survey).
18 |
19 | To move the downloaded files to the specific folder, you can execute.
20 |
21 | 1. Stackoverflow’s 2018 data
22 | ` mv survey_results_public.csv Write-a-Data-Science-Blog-Post/data/2018/survey_results_public.csv `
23 |
24 | 2. Stackoverflow’s 2019 data
25 | ` mv survey_results_public.csv Write-a-Data-Science-Blog-Post/data/2019/survey_results_public.csv `
26 |
27 | ## Project Motivation
28 |
29 | This is an Udacity Nanodegree project.I was interested in using Stackoverflow Developer Survey Data to better understand:
30 | 1. What are the most used programming languages in India?
31 | 2. What type of developers are most in India?
32 | 3. What type of developers earn the most globally?
33 |
34 | ## File Description
35 |
36 | **exploratory_analysis.ipynb**: Notebook containing the data analysis.
37 | **data/2018/survey_results_public.csv**: Stackoverflow's 2018 Annual Developer Survey data.
38 | **data/2019/survey_results_public.csv**: Stackoverflow's 2019 Annual Developer Survey data.
39 |
40 | ## Results
41 | The main findings of the project can be found at the post available [here](https://medium.com/@vivanks/what-are-developers-into-7a15682cce7e?source=friends_link&sk=118a9b1cede0abac4f70af43446f41da)
42 |
43 | ## Licensing, Authors, Acknowledgements
44 | Must give credit to Stackoverflow for the data. You can find the Licensing for the data and other descriptive information at the Stackoverflow link available [here](https://insights.stackoverflow.com/survey).
45 |
--------------------------------------------------------------------------------
/__pycache__/test_nb.cpython-37-pytest-5.4.1.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vivanks/What-are-developers-into/92ceceb3fc7fa8e45d99f1e9bd0e04da905386e1/__pycache__/test_nb.cpython-37-pytest-5.4.1.pyc
--------------------------------------------------------------------------------
/dataset/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vivanks/What-are-developers-into/92ceceb3fc7fa8e45d99f1e9bd0e04da905386e1/dataset/.DS_Store
--------------------------------------------------------------------------------
/dataset/2018/survey_results_public.csv:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:f4d8371b44a3154a79632b929a19e4eca6288eb481a099992df5baba252c3bde
3 | size 195595827
4 |
--------------------------------------------------------------------------------
/dataset/2019/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vivanks/What-are-developers-into/92ceceb3fc7fa8e45d99f1e9bd0e04da905386e1/dataset/2019/.DS_Store
--------------------------------------------------------------------------------
/dataset/2019/survey_results_public.csv:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:4b2e6f54b54fb1a28ace74aaa8a51892221023572ddc52b4e2b41627fb233740
3 | size 196592730
4 |
--------------------------------------------------------------------------------
/requirement.txt:
--------------------------------------------------------------------------------
1 | numpy
2 | pandas
3 | matplotlib
4 | seaborn
5 | pytest
--------------------------------------------------------------------------------
/test_nb.py:
--------------------------------------------------------------------------------
1 | import subprocess
2 | import tempfile
3 |
4 |
5 | def _exec_notebook(path):
6 | with tempfile.NamedTemporaryFile(suffix=".ipynb") as fout:
7 | args = ["jupyter", "nbconvert", "--to", "notebook", "--execute",
8 | "--ExecutePreprocessor.timeout=1000",
9 | "--output", fout.name, path]
10 | subprocess.check_call(args)
11 |
12 |
13 | def test():
14 | _exec_notebook('Developer\'s Profile of India.ipynb')
15 |
--------------------------------------------------------------------------------