From 5cfd16280885d27b9f23079f0ef78c7009d42d64 Mon Sep 17 00:00:00 2001 From: Lawrence Andrew <42677990+Lawrence-h-andrew@users.noreply.github.com> Date: Tue, 29 Jan 2019 20:42:59 -0500 Subject: [PATCH 1/2] Initial Scatterplot code Starter code for ScatterPlot. Will add more through the week so the variables can be renamed as categories. --- ScatterPlot.ipynb | 286 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 ScatterPlot.ipynb diff --git a/ScatterPlot.ipynb b/ScatterPlot.ipynb new file mode 100644 index 0000000..f65ef90 --- /dev/null +++ b/ScatterPlot.ipynb @@ -0,0 +1,286 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
| \n", + " | Unnamed: 0 | \n", + "advisories | \n", + "category | \n", + "cause | \n", + "charityName | \n", + "charityNavigatorURL | \n", + "currentRating | \n", + "donationAddress | \n", + "ein | \n", + "irsClassification | \n", + "mailingAddress | \n", + "mission | \n", + "orgID | \n", + "organization | \n", + "tagLine | \n", + "websiteURL | \n", + "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", + "0 | \n", + "{'severity': None, 'active': {'_rapid_links': ... | \n", + "{'categoryName': 'Research and Public Policy',... | \n", + "{'causeID': 35, 'causeName': 'Non-Medical Scie... | \n", + "Mount Desert Island Biological Laboratory | \n", + "https://www.charitynavigator.org/?bay=search.s... | \n", + "{'score': 92.61, 'ratingID': 131800, 'publicat... | \n", + "{'country': None, 'stateOrProvince': 'ME', 'ci... | \n", + "10202467 | \n", + "{'deductibility': 'Contributions are deductibl... | \n", + "{'country': None, 'stateOrProvince': 'ME', 'ci... | \n", + "The MDI Biological Laboratory is a rapidly gro... | \n", + "5954 | \n", + "{'charityName': 'Mount Desert Island Biologica... | \n", + "Connecting Science, Environment, and Health | \n", + "http://www.mdibl.org/ | \n", + "
| 1 | \n", + "1 | \n", + "{'severity': None, 'active': {'_rapid_links': ... | \n", + "{'categoryName': 'Community Development', 'cat... | \n", + "{'causeID': 42, 'causeName': 'United Ways', 'c... | \n", + "United Way of Eastern Maine | \n", + "https://www.charitynavigator.org/?bay=search.s... | \n", + "{'score': 81.84, 'ratingID': 138738, 'publicat... | \n", + "NaN | \n", + "10211478 | \n", + "{'deductibility': 'Contributions are deductibl... | \n", + "{'country': None, 'stateOrProvince': 'ME', 'ci... | \n", + "Working with the communities we serve, the Uni... | \n", + "12517 | \n", + "{'charityName': 'United Way of Eastern Maine',... | \n", + "Live united | \n", + "https://www.unitedwayem.org/ | \n", + "
| 2 | \n", + "2 | \n", + "{'severity': None, 'active': {'_rapid_links': ... | \n", + "{'categoryName': 'Health', 'categoryID': 5, 'c... | \n", + "{'causeID': 14, 'causeName': 'Medical Research... | \n", + "The Jackson Laboratory | \n", + "https://www.charitynavigator.org/?bay=search.s... | \n", + "{'score': 93.16, 'ratingID': 131608, 'publicat... | \n", + "{'country': None, 'stateOrProvince': 'ME', 'ci... | \n", + "10211513 | \n", + "{'deductibility': 'Contributions are deductibl... | \n", + "{'country': None, 'stateOrProvince': 'ME', 'ci... | \n", + "The Jackson Laboratory, founded in 1929, is an... | \n", + "3916 | \n", + "{'charityName': 'The Jackson Laboratory', 'ein... | \n", + "Leading the search for tomorrow's cures | \n", + "http://www.jax.org | \n", + "
| 3 | \n", + "3 | \n", + "{'severity': None, 'active': {'_rapid_links': ... | \n", + "{'categoryName': 'Arts, Culture, Humanities', ... | \n", + "{'causeID': 6, 'causeName': 'Libraries, Histor... | \n", + "Maine Historical Society | \n", + "https://www.charitynavigator.org/?bay=search.s... | \n", + "{'score': 80.31, 'ratingID': 124121, 'publicat... | \n", + "NaN | \n", + "10211530 | \n", + "{'deductibility': 'Contributions are deductibl... | \n", + "{'country': None, 'stateOrProvince': 'ME', 'ci... | \n", + "Founded in 1822, the Maine Historical Society ... | \n", + "15533 | \n", + "{'charityName': 'Maine Historical Society', 'e... | \n", + "Preserving history, engaging minds, connecting... | \n", + "http://www.mainehistory.org/ | \n", + "
| 4 | \n", + "4 | \n", + "{'severity': None, 'active': {'_rapid_links': ... | \n", + "{'categoryName': 'Human Services', 'categoryID... | \n", + "{'causeID': 16, 'causeName': 'Youth Developmen... | \n", + "Boys & Girls Clubs of Southern Maine | \n", + "https://www.charitynavigator.org/?bay=search.s... | \n", + "{'score': 91.54, 'ratingID': 135033, 'publicat... | \n", + "NaN | \n", + "10211543 | \n", + "{'deductibility': 'Contributions are deductibl... | \n", + "{'country': None, 'stateOrProvince': 'ME', 'ci... | \n", + "For more than 100 years, Boys & Girls Clubs of... | \n", + "15222 | \n", + "{'charityName': 'Boys & Girls Clubs of Souther... | \n", + "Great Futures Start Here | \n", + "http://www.bgcmaine.org/home | \n", + "