diff --git a/aggregated-results/sdg-profiles-statistics.ipynb b/aggregated-results/sdg-profiles-statistics.ipynb index 03a68422007dd7f26c0c18e4d4c1e6ab8ffaedce..091994ba209132a5e3be0e264193b59f0fc7a862 100644 --- a/aggregated-results/sdg-profiles-statistics.ipynb +++ b/aggregated-results/sdg-profiles-statistics.ipynb @@ -90,7 +90,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -112,7 +112,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -121,7 +121,7 @@ "(244, 29)" ] }, - "execution_count": 4, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -166,48 +166,18 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "metadata": {}, "outputs": [ { - "name": "stdout", - "output_type": "stream", - "text": [ - "<class 'pandas.core.frame.DataFrame'>\n", - "RangeIndex: 244 entries, 0 to 243\n", - "Data columns (total 27 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 slug 231 non-null object\n", - " 1 Tijdstempel 238 non-null object\n", - " 2 E-mailadres 238 non-null object\n", - " 3 Your fullname 238 non-null object\n", - " 4 The name of your fab lab 238 non-null object\n", - " 5 Country of your fab lab 237 non-null object\n", - " 6 URL of your fab lab page on www.fablabs.io 238 non-null object\n", - " 7 SDG 1 9 non-null object\n", - " 8 SDG 2 13 non-null object\n", - " 9 SDG 3 26 non-null object\n", - " 10 SDG 4 190 non-null object\n", - " 11 SDG 5 75 non-null object\n", - " 12 SDG 6 14 non-null object\n", - " 13 SDG 7 33 non-null object\n", - " 14 SDG 8 68 non-null object\n", - " 15 SDG 9 156 non-null object\n", - " 16 SDG 10 24 non-null object\n", - " 17 SDG 11 82 non-null object\n", - " 18 SDG 12 102 non-null object\n", - " 19 SDG 13 24 non-null object\n", - " 20 SDG 14 7 non-null object\n", - " 21 SDG 15 18 non-null object\n", - " 22 SDG 16 2 non-null object\n", - " 23 SDG 17 42 non-null object\n", - " 24 summary 244 non-null object\n", - " 25 status 244 non-null object\n", - " 26 check 221 non-null object\n", - "dtypes: object(27)\n", - "memory usage: 25.8+ KB\n" - ] + "data": { + "text/plain": [ + "(244, 27)" + ] + }, + "execution_count": 6, + "metadata": {}, + "output_type": "execute_result" } ], "source": [ @@ -216,53 +186,23 @@ "del profiles['Enter your SDG profile by ticking 2-4 SDGs']\n", "del profiles['One more thing!']\n", "\n", - "profiles.info()" + "profiles.shape" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 7, "metadata": {}, "outputs": [ { - "name": "stdout", - "output_type": "stream", - "text": [ - "<class 'pandas.core.frame.DataFrame'>\n", - "Int64Index: 238 entries, 0 to 237\n", - "Data columns (total 27 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 slug 231 non-null object\n", - " 1 Tijdstempel 238 non-null object\n", - " 2 E-mailadres 238 non-null object\n", - " 3 Your fullname 238 non-null object\n", - " 4 The name of your fab lab 238 non-null object\n", - " 5 Country of your fab lab 237 non-null object\n", - " 6 URL of your fab lab page on www.fablabs.io 238 non-null object\n", - " 7 SDG 1 9 non-null object\n", - " 8 SDG 2 13 non-null object\n", - " 9 SDG 3 26 non-null object\n", - " 10 SDG 4 190 non-null object\n", - " 11 SDG 5 75 non-null object\n", - " 12 SDG 6 14 non-null object\n", - " 13 SDG 7 33 non-null object\n", - " 14 SDG 8 68 non-null object\n", - " 15 SDG 9 156 non-null object\n", - " 16 SDG 10 24 non-null object\n", - " 17 SDG 11 82 non-null object\n", - " 18 SDG 12 102 non-null object\n", - " 19 SDG 13 24 non-null object\n", - " 20 SDG 14 7 non-null object\n", - " 21 SDG 15 18 non-null object\n", - " 22 SDG 16 2 non-null object\n", - " 23 SDG 17 42 non-null object\n", - " 24 summary 238 non-null object\n", - " 25 status 238 non-null object\n", - " 26 check 221 non-null object\n", - "dtypes: object(27)\n", - "memory usage: 27.0+ KB\n" - ] + "data": { + "text/plain": [ + "(238, 27)" + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" } ], "source": [ @@ -270,7 +210,7 @@ "# Skip empty rows\n", "profiles = profiles.loc[profiles['Tijdstempel'].notna()]\n", "\n", - "profiles.info()" + "profiles.shape" ] }, { @@ -286,43 +226,18 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 4, "metadata": {}, "outputs": [ { - "name": "stdout", - "output_type": "stream", - "text": [ - "<class 'pandas.core.frame.DataFrame'>\n", - "Index: 2015 entries, ping to ZapLab\n", - "Data columns (total 22 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 id 2015 non-null int64 \n", - " 1 name 2015 non-null object \n", - " 2 kind_name 2015 non-null object \n", - " 3 parent_id 687 non-null float64\n", - " 4 blurb 1968 non-null object \n", - " 5 description 1986 non-null object \n", - " 6 avatar_url 1655 non-null object \n", - " 7 header_url 1322 non-null object \n", - " 8 address_1 1987 non-null object \n", - " 9 address_2 1985 non-null object \n", - " 10 city 2015 non-null object \n", - " 11 county 2015 non-null object \n", - " 12 postal_code 2013 non-null object \n", - " 13 country_code 2015 non-null object \n", - " 14 latitude 1838 non-null float64\n", - " 15 longitude 1838 non-null float64\n", - " 16 address_notes 1986 non-null object \n", - " 17 phone 1986 non-null object \n", - " 18 email 1986 non-null object \n", - " 19 capabilities 2015 non-null object \n", - " 20 activity_status 1431 non-null object \n", - " 21 links 2015 non-null object \n", - "dtypes: float64(3), int64(1), object(18)\n", - "memory usage: 212.5+ KB\n" - ] + "data": { + "text/plain": [ + "(2015, 22)" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" } ], "source": [ @@ -351,7 +266,7 @@ "f.write(line)\n", "#f.close() \n", "\n", - "fablabs.info()" + "fablabs.shape" ] }, { @@ -367,71 +282,19 @@ "metadata": {}, "outputs": [ { - "name": "stdout", - "output_type": "stream", - "text": [ - "<class 'pandas.core.frame.DataFrame'>\n", - "Int64Index: 238 entries, 0 to 237\n", - "Data columns (total 49 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 slug 231 non-null object \n", - " 1 Tijdstempel 238 non-null object \n", - " 2 E-mailadres 238 non-null object \n", - " 3 Your fullname 238 non-null object \n", - " 4 The name of your fab lab 238 non-null object \n", - " 5 Country of your fab lab 237 non-null object \n", - " 6 URL of your fab lab page on www.fablabs.io 238 non-null object \n", - " 7 SDG 1 9 non-null object \n", - " 8 SDG 2 13 non-null object \n", - " 9 SDG 3 26 non-null object \n", - " 10 SDG 4 190 non-null object \n", - " 11 SDG 5 75 non-null object \n", - " 12 SDG 6 14 non-null object \n", - " 13 SDG 7 33 non-null object \n", - " 14 SDG 8 68 non-null object \n", - " 15 SDG 9 156 non-null object \n", - " 16 SDG 10 24 non-null object \n", - " 17 SDG 11 82 non-null object \n", - " 18 SDG 12 102 non-null object \n", - " 19 SDG 13 24 non-null object \n", - " 20 SDG 14 7 non-null object \n", - " 21 SDG 15 18 non-null object \n", - " 22 SDG 16 2 non-null object \n", - " 23 SDG 17 42 non-null object \n", - " 24 summary 238 non-null object \n", - " 25 status 238 non-null object \n", - " 26 check 221 non-null object \n", - " 27 id 225 non-null float64\n", - " 28 name 225 non-null object \n", - " 29 kind_name 225 non-null object \n", - " 30 parent_id 75 non-null float64\n", - " 31 blurb 224 non-null object \n", - " 32 description 224 non-null object \n", - " 33 avatar_url 193 non-null object \n", - " 34 header_url 171 non-null object \n", - " 35 address_1 224 non-null object \n", - " 36 address_2 224 non-null object \n", - " 37 city 225 non-null object \n", - " 38 county 225 non-null object \n", - " 39 postal_code 225 non-null object \n", - " 40 country_code 225 non-null object \n", - " 41 latitude 217 non-null float64\n", - " 42 longitude 217 non-null float64\n", - " 43 address_notes 224 non-null object \n", - " 44 phone 224 non-null object \n", - " 45 email 224 non-null object \n", - " 46 capabilities 225 non-null object \n", - " 47 activity_status 206 non-null object \n", - " 48 links 225 non-null object \n", - "dtypes: float64(4), object(45)\n", - "memory usage: 51.1+ KB\n" - ] + "data": { + "text/plain": [ + "(238, 49)" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" } ], "source": [ "profiles = pd.merge(profiles, fablabs, how=\"left\", on=\"slug\")\n", - "profiles.info()" + "profiles.shape" ] }, { diff --git a/local-workshop-sources/sdg icon translator.xlsx b/local-workshop-sources/sdg icon translator.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..73fb769774f18fc186ef0bb87f21cc136d77fdf6 Binary files /dev/null and b/local-workshop-sources/sdg icon translator.xlsx differ