diff --git a/backlog/Stack_Overflow2018.ipynb b/backlog/Stack_Overflow2018.ipynb index fa521d4..918bb96 100644 --- a/backlog/Stack_Overflow2018.ipynb +++ b/backlog/Stack_Overflow2018.ipynb @@ -3,7 +3,8 @@ "nbformat_minor": 0, "metadata": { "colab": { - "provenance": [] + "provenance": [], + "gpuType": "T4" }, "kernelspec": { "name": "python3", @@ -11,7 +12,8 @@ }, "language_info": { "name": "python" - } + }, + "accelerator": "GPU" }, "cells": [ { @@ -52,9 +54,33 @@ "metadata": { "id": "PofFmURLASrI" }, - "execution_count": 2, + "execution_count": 1, "outputs": [] }, + { + "cell_type": "code", + "source": [ + "from google.colab import drive\n", + "drive.mount('/content/drive')" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "2faOx-2toTHJ", + "outputId": "1b35211f-331c-4651-9d1e-9a317f013ac5" + }, + "execution_count": 2, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Mounted at /content/drive\n" + ] + } + ] + }, { "cell_type": "markdown", "source": [ @@ -67,10 +93,32 @@ { "cell_type": "code", "source": [ - "df=pd.read_csv(\"/content/survey_results_sample_2018.csv\")" + "df=pd.read_csv(\"/content/drive/MyDrive/GirlsScriptOpenSource/StockOverflow/survey_results_public_2018.csv\")" ], "metadata": { - "id": "YreYMLwKAW3p" + "id": "YreYMLwKAW3p", + "colab": { + "base_uri": "https://localhost:8080/" + }, + "outputId": "0e467e0f-f755-4cd5-da7c-efd605eb5246" + }, + "execution_count": 3, + "outputs": [ + { + "output_type": "stream", + "name": "stderr", + "text": [ + ":1: DtypeWarning: Columns (8,12,13,14,15,16,50,51,52,53,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128) have mixed types. Specify dtype option on import or set low_memory=False.\n", + " df=pd.read_csv(\"/content/drive/MyDrive/GirlsScriptOpenSource/StockOverflow/survey_results_public_2018.csv\")\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "UAVWrkO5oQbk" }, "execution_count": 3, "outputs": [] @@ -96,7 +144,7 @@ "height": 1000 }, "id": "NeeuOsj4AzIs", - "outputId": "2a7a3c35-52c4-4540-c663-ed4aa65d99b8" + "outputId": "50791d78-3388-4755-e3e2-85e1acfd7897" }, "execution_count": 4, "outputs": [ @@ -117,16 +165,16 @@ "9 16 No Yes India No \n", "\n", " Employment FormalEducation \\\n", - "0 Employed part-time Bachelor‚Äôs degree (BA, BS, B.Eng., etc.) \n", - "1 Employed full-time Bachelor‚Äôs degree (BA, BS, B.Eng., etc.) \n", + "0 Employed part-time Bachelor’s degree (BA, BS, B.Eng., etc.) \n", + "1 Employed full-time Bachelor’s degree (BA, BS, B.Eng., etc.) \n", "2 Employed full-time Associate degree \n", - "3 Employed full-time Bachelor‚Äôs degree (BA, BS, B.Eng., etc.) \n", + "3 Employed full-time Bachelor’s degree (BA, BS, B.Eng., etc.) \n", "4 Employed full-time Some college/university study without earning ... \n", - "5 Employed full-time Bachelor‚Äôs degree (BA, BS, B.Eng., etc.) \n", + "5 Employed full-time Bachelor’s degree (BA, BS, B.Eng., etc.) \n", "6 Employed full-time Some college/university study without earning ... \n", - "7 Employed full-time Bachelor‚Äôs degree (BA, BS, B.Eng., etc.) \n", + "7 Employed full-time Bachelor’s degree (BA, BS, B.Eng., etc.) \n", "8 Employed full-time Some college/university study without earning ... \n", - "9 Employed full-time Bachelor‚Äôs degree (BA, BS, B.Eng., etc.) \n", + "9 Employed full-time Bachelor’s degree (BA, BS, B.Eng., etc.) \n", "\n", " UndergradMajor \\\n", "0 Mathematics or statistics \n", @@ -177,13 +225,13 @@ "9 NaN NaN NaN \n", "\n", " EducationParents \\\n", - "0 Bachelor‚Äôs degree (BA, BS, B.Eng., etc.) \n", - "1 Bachelor‚Äôs degree (BA, BS, B.Eng., etc.) \n", + "0 Bachelor’s degree (BA, BS, B.Eng., etc.) \n", + "1 Bachelor’s degree (BA, BS, B.Eng., etc.) \n", "2 NaN \n", "3 Some college/university study without earning ... \n", "4 Some college/university study without earning ... \n", "5 Secondary school (e.g. American high school, G... \n", - "6 Master‚Äôs degree (MA, MS, M.Eng., MBA, etc.) \n", + "6 Master’s degree (MA, MS, M.Eng., MBA, etc.) \n", "7 Primary/elementary school \n", "8 Some college/university study without earning ... \n", "9 NaN \n", @@ -216,7 +264,7 @@ ], "text/html": [ "\n", - "
\n", + "
\n", "
\n", "