Skip to content

Instantly share code, notes, and snippets.

@sbeleidy
Last active January 20, 2017 13:38
Show Gist options
  • Save sbeleidy/b010411b5f5459d1824c8776c2e4fef1 to your computer and use it in GitHub Desktop.
Save sbeleidy/b010411b5f5459d1824c8776c2e4fef1 to your computer and use it in GitHub Desktop.
Rich Analysis
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# dotenv
.env
# virtualenv
.venv/
venv/
ENV/
# Spyder project settings
.spyderproject
# Rope project settings
.ropeproject

Analyzing The Rich

The Jupyter Notebook is named Rich Analysis.

Data

The data is from the Forbes Billionaires List. You can go to that page, scroll down, select all and copy and paste the data.

Running Locally

To set up the environment, install conda, if you don't already have it installed, and then create the environment from the environment.yml file in the repo.

conda env create -f environment.yml

Then run jupyter notebook and click on the .ipynb file:

jupyter notebook .
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment