Giter VIP home page Giter VIP logo

numpy-survey-results's Introduction

NumPy Survey Results

Analysis and publication of the results of the 2020 NumPy Community Survey.

Running the analysis

Several steps are required to analyze and publish the survey results:

  1. Acquiring the survey data
  2. Configuring the environment
  3. Running the analysis & generating the website.

Each of these steps is covered below.

Survey data

Coming soon...

Environment setup

The necessary packages for analyzing and publishing the results are listed in requirements.txt and site/requirements.txt, respectively. The following procedure can be used to set up an environment for data analysis:

python -m venv survey_analysis
source survey_analysis/bin/activate
python -m pip install .[publish]

Running the analysis

Sphinx is used to automatically run the analysis via the myst-nb plugin and generate a static website presenting the results:

cd site
make html

The generated site can then be viewed by opening site/_build/html/index.html in your preferred browser.

Converting to Jupyter notebooks

For those who are more comfortable with Jupyter notebooks, the myst-nb text-based notebook files can be converted to .ipynb files:

cd site
make notebooks

This converts all of the .md files in content/ to .ipynb files of the same name and moves them to site/notebooks. The notebooks can then be opened for interactive use in the standard way, e.g.

cd site/notebooks
jupyter notebook

Note:

The text-based notebook format includes more features than are currently supported by traditional Jupyter notebooks. Therefore, some features (e.g. glue or other MyST roles & directives) will not render when interacting with the .ipynb file.

numpy-survey-results's People

Contributors

rossbar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.