master 66ff45cfd8e7 cached
176 files
202.7 MB
13.7M tokens
3 symbols
1 requests
Copy disabled (too large) Download .txt
Showing preview only (54,794K chars total). Download the full file to get everything.
Repository: cmparlettpelleriti/CPSC392ParlettPelleriti
Branch: master
Commit: 66ff45cfd8e7
Files: 176
Total size: 202.7 MB

Directory structure:
gitextract_lg8wj3x5/

├── Admin/
│   ├── READMEexample.md
│   └── Rough Class Schedule.md
├── Classwork/
│   ├── 01_AllTheStuffYouNeedToKnowPython.ipynb
│   ├── 02_DebuggingBasics.ipynb
│   ├── 02_PythonReview.ipynb
│   ├── 03_AllTheStuffYouNeedToKnowMath.ipynb
│   ├── 04_VisualizationI.ipynb
│   ├── 05_VisualizationII.ipynb
│   ├── 06_LinearRegressionI.ipynb
│   ├── 07_LinearRegressionII.ipynb
│   ├── 08_LinearRegressionIII_BiasVarianceTradeoff.ipynb
│   ├── 09_LogisticRegressionI.ipynb
│   ├── 10_LogisticRegressionII.ipynb
│   ├── 11_TreeBasedModels.ipynb
│   ├── 14_KNNAndNaiveBayes.ipynb
│   ├── 15_Ethics.ipynb
│   ├── 16_KMeans.ipynb
│   ├── 17_GaussianMixtureModels.ipynb
│   ├── 18_DBSCAN.ipynb
│   ├── 19_HierarchicalClustering.ipynb
│   ├── 20_PCA.ipynb
│   └── 24_NeuralNetworks.ipynb
├── Data/
│   ├── 06_lin.csv
│   ├── 06_nonlin.csv
│   ├── 07_cw.csv
│   ├── Beyonce_data.csv
│   ├── BreastCancer.csv
│   ├── CCfraud.csv
│   ├── EmailFromChelsea.csv
│   ├── GMM_Classwork_01.csv
│   ├── GMM_Classwork_02.csv
│   ├── GMM_Classwork_03.csv
│   ├── GMM_Classwork_04.csv
│   ├── GradAdmissions.csv
│   ├── HAC1.csv
│   ├── HW2.csv
│   ├── HW3.csv
│   ├── HW3_behavioral.csv
│   ├── HW3_topics.csv
│   ├── HW4_1.csv
│   ├── HomeOwnership.csv
│   ├── HomeOwnership2.csv
│   ├── HufflePuff.csv
│   ├── HufflePuffTEXT.csv
│   ├── HufflePuffTEXT2.csv
│   ├── IPODataFull.csv
│   ├── KMEM1.csv
│   ├── KMEM2.csv
│   ├── KMEM3.csv
│   ├── KMEM4.csv
│   ├── KMEM5.csv
│   ├── KMEM6.csv
│   ├── KNNCompareSpotify.csv
│   ├── KrispyKreme.csv
│   ├── LeagueofLegends.csv
│   ├── Lizzo_data.csv
│   ├── McMenu.csv
│   ├── MushroomData.ipynb
│   ├── Music_data.csv
│   ├── NN.csv
│   ├── NN_test.csv
│   ├── PalmerPenguinDataDownload.ipynb
│   ├── Pokemon.csv
│   ├── PopDivas_data.csv
│   ├── Proj1.csv
│   ├── SKP_fashion.csv
│   ├── SKP_fashionBIG.csv
│   ├── SKP_fashionNEW.csv
│   ├── TaylorSwiftSpotify.csv
│   ├── X_cols_df.csv
│   ├── X_cols_df2.csv
│   ├── YouTubeKidsVideo.csv
│   ├── airport-screening.txt
│   ├── all_players.csv
│   ├── amazon-books.txt
│   ├── avocado.csv
│   ├── bis-bas-bart-syn-clean.csv
│   ├── bis-bas-bart-syn-future.csv
│   ├── boutique.csv
│   ├── burger-king-items.txt
│   ├── burgersOrPizza.csv
│   ├── buyDress.csv
│   ├── candy-bars.txt
│   ├── catowner.csv
│   ├── cereal.csv
│   ├── debugging.csv
│   ├── diabetes2.csv
│   ├── fastfood_calories.csv
│   ├── fellAsleep.csv
│   ├── gpa.csv
│   ├── heart.csv
│   ├── heart_failure_clinical_records_dataset.csv
│   ├── hearthstone_data.csv
│   ├── heightWeight.csv
│   ├── heightWeightBIG.csv
│   ├── iris.csv
│   ├── jobSuccess.csv
│   ├── kc_house_data.csv
│   ├── knnclasswork.csv
│   ├── knnclasswork2.csv
│   ├── made_purchase.csv
│   ├── makeup.csv
│   ├── office.csv
│   ├── office_long.csv
│   ├── pca0.csv
│   ├── pca10.csv
│   ├── pca11.csv
│   ├── pca12.csv
│   ├── pca5.csv
│   ├── pca9.csv
│   ├── pcaLogit.csv
│   ├── penguins.csv
│   ├── players_15.csv
│   ├── prideAndPrejudice.txt
│   ├── programmers.csv
│   ├── programmers2.csv
│   ├── programmers3.csv
│   ├── purchase.csv
│   ├── ramen-ratings.csv
│   ├── reactionTime.csv
│   ├── regX1.csv
│   ├── regX2.csv
│   ├── regX3.csv
│   ├── regX4.csv
│   ├── related.csv
│   ├── spam.csv
│   ├── spotifypandas.csv
│   ├── streaming.csv
│   ├── streamingFILMS.csv
│   ├── streamingNEW.csv
│   ├── telecom_churn.csv
│   ├── testNB.csv
│   ├── testperform.csv
│   ├── testperform_long.csv
│   ├── tests_and_grades.csv
│   ├── unrelated.csv
│   ├── wineLARGE.csv
│   ├── winequality-red.csv
│   ├── y_df.csv
│   ├── y_df2.csv
│   └── zillow_2016.csv
├── Extras/
│   ├── AltTextActivity.ipynb
│   ├── AssumptionChecksWithModelVal.ipynb
│   ├── BarChart-Reorder.ipynb
│   ├── DoZScoresAffectLinearRegressionPerformance?.ipynb
│   ├── DownloadingAsPDF.md
│   ├── Downloads.ipynb
│   ├── EigenFacesCodeCLASS.ipynb
│   ├── EquivalenceOfHarshnessTerms.ipynb
│   ├── ExtraneousCWCode/
│   │   └── validationcomplexitysim.py
│   ├── GMMMath.ipynb
│   ├── GradientDescent.html
│   ├── LectureLinks/
│   │   └── KMeansandGMMApplicationLinks.ipynb
│   ├── RVersions/
│   │   ├── Linear_Ridge_LASSO.ipynb
│   │   ├── MethodsOfModelValidation.ipynb
│   │   └── PrincipalComponentAnalysis.ipynb
│   ├── SeabornVizVersions/
│   │   ├── Visualization I--Class 4_seaborn.ipynb
│   │   └── Visualization II--Class 5_seaborn.ipynb
│   ├── ShinyHangman.ipynb
│   ├── SquidGameGlassBridge.ipynb
│   ├── Test.qmd
│   └── get_dummies.ipynb
├── FinalProject/
│   └── FinalProjectTemplate.qmd
├── Homework/
│   ├── HW1_SP24.ipynb
│   ├── HW2_SP24.ipynb
│   ├── HW3_FA23.ipynb
│   └── MissedQuizMakeupAssignment.ipynb
├── Lectures/
│   └── LectureNotebooks/
│       ├── 01_AllTheStuffYouNeedToKnowPython.ipynb
│       ├── 01_AllTheStuffYouNeedToKnowPython_BLANK.ipynb
│       ├── 02_DebuggingBasics.ipynb
│       ├── 04_VisualizationI.ipynb
│       ├── 04_VisualizationI_BLANK.ipynb
│       ├── 05_VisualizationII.ipynb
│       └── 05_VisualizationII_BLANK.ipynb
├── README.md
└── Syllabus.md

================================================
FILE CONTENTS
================================================

================================================
FILE: Admin/READMEexample.md
================================================
### Personal Info
<ul>
<li>a. Full	name</li>
<li>b. Student	ID</li>
<li>c. Chapman	email</li>
<li>d. Course	number	and	section</li>
<li>e. Assignment	or	exercise	number</li>
</ul>

### A	description	of	any	known	compile	or	runtime	errors,	code	limitations,	or	deviations from	the	assignment	specification (if	applicable)
### A	list of	all	references	used	to	complete	the	assignment,	including	peers	(if	applicable)


================================================
FILE: Admin/Rough Class Schedule.md
================================================
# Class Schedule MAY change

| **Section**            | **Week** | **Class** | **Topic**                                      | **Notes**                                    |
|------------------------|----------|-----------|------------------------------------------------|----------------------------------------------|
| *Admin and Review*     | 1        | 0         | Intro                                          |                                              |
| *Admin and Review*     | 1        | 1         | All the Stuff You Need To Know (Python)        | Quiz                                         |
| *Admin and Review*     | 2        | 2         | Math with Numpy, Pandas                        |                                              |
| *Admin and Review*     | 2        | 3         | All the Stuff You Need To Know (Math)          | Quiz                                         |
| *Admin and Review*     | 3        | 4         | Data Visualization I                           |                                              |
| *Admin and Review*     | 3        | 5         | Data Visualization II                          | Quiz                                         |
| *Supervised ML*        | 4        | 6         | Linear Regression I                            |                                              |
| *Supervised ML*        | 4        | 7         | Linear Regression II                           | Quiz                                         |
| *Supervised ML*        | 5        | 8         | Linear Regression III (Bias-Variance Tradeoff) | Intro HW1                                    |
| *Supervised ML*        | 5        | 9         | Logistic Regression I                          | Quiz                                         |
| *Supervised ML*        | 6        | 10        | Logistic Regression II                         |                                              |
| *Supervised ML*        | 6        | 11        | Tree-Based Models                              | Quiz                                         |
|                        | 7        | 12        | Review                                         |                                              |
|                        | 7        | 13        | Exam I                                         | Exam                                         |
|                        |          |           | **Spring Break**                               |                                              |
| *Supervised ML*        | 8        | 14        | K-Nearest Neighors and Naive Bayes             | Intro HW2                                    |
| *Misc ML*              | 8        | 15        | Data Science Ethics                            | Quiz (will include ethics videos)            |
| *Unsupervised ML*      | 9        | 16        | K-Means                                        |                                              |
| *Unsupervised ML*      | 9        | 17        | Gaussian Mixture Models                        | Quiz                                         |
| *Unsupervised ML*      | 10       | 18        | DBSCAN                                         |                                              |
| *Unsupervised ML*      | 10       | 19        | Hierarchical                                   | Quiz                                         |
| *Unsupervised ML*      | 11       | 20        | Principal Component Analysis                   | Finding Dataset for Final Project; Intro HW3 |
| *Misc ML*              | 11       | 21        | Topics in Data Science I*                      | Quiz                                         |
|                        | 12       | 22        | Review                                         |                                              |
|                        | 12       | 23        | Exam II                                        | Exam                                         |
| *Misc ML*              | 13       | 24        | Neural Networks                                |                                              |
| *Misc ML*              | 13       | 25        | Topics in Data Science II*                     | Quiz; Course Evals                           |
|                        | 14       | 26        | Review + Project                               |                                              |
| *Misc ML*              | 14       | 27        | Topics in Data Science III*                    | Quiz                                         |

================================================
FILE: Classwork/01_AllTheStuffYouNeedToKnowPython.ipynb
================================================
{
  "cells": [
    {
      "cell_type": "markdown",
      "source": [
        "# Review\n",
        "Pandas is a package in Python that allows us to work with the `DataFrame` data structure.\n",
        "\n",
        "It comes with multiple methods and functions that allow us to explore and analyze data frames.\n",
        "\n"
      ],
      "metadata": {
        "id": "YqtBeX20zoMM"
      }
    },
    {
      "cell_type": "code",
      "execution_count": 1,
      "metadata": {
        "id": "wT5VI9J8znVP"
      },
      "outputs": [],
      "source": [
        "# import necessary packages here\n",
        "import warnings\n",
        "warnings.filterwarnings('ignore')\n",
        "\n",
        "import pandas as pd"
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# load in data from Google Drive\n",
        "from google.colab import drive\n",
        "drive.mount('/content/drive/')"
      ],
      "metadata": {
        "id": "JOS9HqVu0byi",
        "outputId": "05aad8c5-1248-4ad9-8f38-d47ca52dfa7c",
        "colab": {
          "base_uri": "https://localhost:8080/"
        }
      },
      "execution_count": 2,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Mounted at /content/drive/\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# load World Happiness Report\n",
        "world_happiness = pd.read_csv(\"/content/drive/MyDrive/2015.csv\")"
      ],
      "metadata": {
        "id": "U8_AuRe21Crl"
      },
      "execution_count": 3,
      "outputs": []
    },
    {
      "cell_type": "code",
      "source": [
        "# grap first 10 rows\n",
        "world_happiness.head(10)"
      ],
      "metadata": {
        "id": "NfEjYTRW1TBT",
        "outputId": "da8a9cd5-d528-42ec-e6db-8f6c26034c7f",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 678
        }
      },
      "execution_count": 4,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "       Country                     Region  Happiness Rank  Happiness Score  \\\n",
              "0  Switzerland             Western Europe               1            7.587   \n",
              "1      Iceland             Western Europe               2            7.561   \n",
              "2      Denmark             Western Europe               3            7.527   \n",
              "3       Norway             Western Europe               4            7.522   \n",
              "4       Canada              North America               5            7.427   \n",
              "5      Finland             Western Europe               6            7.406   \n",
              "6  Netherlands             Western Europe               7            7.378   \n",
              "7       Sweden             Western Europe               8            7.364   \n",
              "8  New Zealand  Australia and New Zealand               9            7.286   \n",
              "9    Australia  Australia and New Zealand              10            7.284   \n",
              "\n",
              "   Standard Error  Economy (GDP per Capita)   Family  \\\n",
              "0         0.03411                   1.39651  1.34951   \n",
              "1         0.04884                   1.30232  1.40223   \n",
              "2         0.03328                   1.32548  1.36058   \n",
              "3         0.03880                   1.45900  1.33095   \n",
              "4         0.03553                   1.32629  1.32261   \n",
              "5         0.03140                   1.29025  1.31826   \n",
              "6         0.02799                   1.32944  1.28017   \n",
              "7         0.03157                   1.33171  1.28907   \n",
              "8         0.03371                   1.25018  1.31967   \n",
              "9         0.04083                   1.33358  1.30923   \n",
              "\n",
              "   Health (Life Expectancy)  Freedom  Trust (Government Corruption)  \\\n",
              "0                   0.94143  0.66557                        0.41978   \n",
              "1                   0.94784  0.62877                        0.14145   \n",
              "2                   0.87464  0.64938                        0.48357   \n",
              "3                   0.88521  0.66973                        0.36503   \n",
              "4                   0.90563  0.63297                        0.32957   \n",
              "5                   0.88911  0.64169                        0.41372   \n",
              "6                   0.89284  0.61576                        0.31814   \n",
              "7                   0.91087  0.65980                        0.43844   \n",
              "8                   0.90837  0.63938                        0.42922   \n",
              "9                   0.93156  0.65124                        0.35637   \n",
              "\n",
              "   Generosity  Dystopia Residual  \n",
              "0     0.29678            2.51738  \n",
              "1     0.43630            2.70201  \n",
              "2     0.34139            2.49204  \n",
              "3     0.34699            2.46531  \n",
              "4     0.45811            2.45176  \n",
              "5     0.23351            2.61955  \n",
              "6     0.47610            2.46570  \n",
              "7     0.36262            2.37119  \n",
              "8     0.47501            2.26425  \n",
              "9     0.43562            2.26646  "
            ],
            "text/html": [
              "\n",
              "  <div id=\"df-2663b045-a2f0-4eba-9bde-294595ac74d6\" class=\"colab-df-container\">\n",
              "    <div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Country</th>\n",
              "      <th>Region</th>\n",
              "      <th>Happiness Rank</th>\n",
              "      <th>Happiness Score</th>\n",
              "      <th>Standard Error</th>\n",
              "      <th>Economy (GDP per Capita)</th>\n",
              "      <th>Family</th>\n",
              "      <th>Health (Life Expectancy)</th>\n",
              "      <th>Freedom</th>\n",
              "      <th>Trust (Government Corruption)</th>\n",
              "      <th>Generosity</th>\n",
              "      <th>Dystopia Residual</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>Switzerland</td>\n",
              "      <td>Western Europe</td>\n",
              "      <td>1</td>\n",
              "      <td>7.587</td>\n",
              "      <td>0.03411</td>\n",
              "      <td>1.39651</td>\n",
              "      <td>1.34951</td>\n",
              "      <td>0.94143</td>\n",
              "      <td>0.66557</td>\n",
              "      <td>0.41978</td>\n",
              "      <td>0.29678</td>\n",
              "      <td>2.51738</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>Iceland</td>\n",
              "      <td>Western Europe</td>\n",
              "      <td>2</td>\n",
              "      <td>7.561</td>\n",
              "      <td>0.04884</td>\n",
              "      <td>1.30232</td>\n",
              "      <td>1.40223</td>\n",
              "      <td>0.94784</td>\n",
              "      <td>0.62877</td>\n",
              "      <td>0.14145</td>\n",
              "      <td>0.43630</td>\n",
              "      <td>2.70201</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>Denmark</td>\n",
              "      <td>Western Europe</td>\n",
              "      <td>3</td>\n",
              "      <td>7.527</td>\n",
              "      <td>0.03328</td>\n",
              "      <td>1.32548</td>\n",
              "      <td>1.36058</td>\n",
              "      <td>0.87464</td>\n",
              "      <td>0.64938</td>\n",
              "      <td>0.48357</td>\n",
              "      <td>0.34139</td>\n",
              "      <td>2.49204</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>Norway</td>\n",
              "      <td>Western Europe</td>\n",
              "      <td>4</td>\n",
              "      <td>7.522</td>\n",
              "      <td>0.03880</td>\n",
              "      <td>1.45900</td>\n",
              "      <td>1.33095</td>\n",
              "      <td>0.88521</td>\n",
              "      <td>0.66973</td>\n",
              "      <td>0.36503</td>\n",
              "      <td>0.34699</td>\n",
              "      <td>2.46531</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>Canada</td>\n",
              "      <td>North America</td>\n",
              "      <td>5</td>\n",
              "      <td>7.427</td>\n",
              "      <td>0.03553</td>\n",
              "      <td>1.32629</td>\n",
              "      <td>1.32261</td>\n",
              "      <td>0.90563</td>\n",
              "      <td>0.63297</td>\n",
              "      <td>0.32957</td>\n",
              "      <td>0.45811</td>\n",
              "      <td>2.45176</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>5</th>\n",
              "      <td>Finland</td>\n",
              "      <td>Western Europe</td>\n",
              "      <td>6</td>\n",
              "      <td>7.406</td>\n",
              "      <td>0.03140</td>\n",
              "      <td>1.29025</td>\n",
              "      <td>1.31826</td>\n",
              "      <td>0.88911</td>\n",
              "      <td>0.64169</td>\n",
              "      <td>0.41372</td>\n",
              "      <td>0.23351</td>\n",
              "      <td>2.61955</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>6</th>\n",
              "      <td>Netherlands</td>\n",
              "      <td>Western Europe</td>\n",
              "      <td>7</td>\n",
              "      <td>7.378</td>\n",
              "      <td>0.02799</td>\n",
              "      <td>1.32944</td>\n",
              "      <td>1.28017</td>\n",
              "      <td>0.89284</td>\n",
              "      <td>0.61576</td>\n",
              "      <td>0.31814</td>\n",
              "      <td>0.47610</td>\n",
              "      <td>2.46570</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>7</th>\n",
              "      <td>Sweden</td>\n",
              "      <td>Western Europe</td>\n",
              "      <td>8</td>\n",
              "      <td>7.364</td>\n",
              "      <td>0.03157</td>\n",
              "      <td>1.33171</td>\n",
              "      <td>1.28907</td>\n",
              "      <td>0.91087</td>\n",
              "      <td>0.65980</td>\n",
              "      <td>0.43844</td>\n",
              "      <td>0.36262</td>\n",
              "      <td>2.37119</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>8</th>\n",
              "      <td>New Zealand</td>\n",
              "      <td>Australia and New Zealand</td>\n",
              "      <td>9</td>\n",
              "      <td>7.286</td>\n",
              "      <td>0.03371</td>\n",
              "      <td>1.25018</td>\n",
              "      <td>1.31967</td>\n",
              "      <td>0.90837</td>\n",
              "      <td>0.63938</td>\n",
              "      <td>0.42922</td>\n",
              "      <td>0.47501</td>\n",
              "      <td>2.26425</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>9</th>\n",
              "      <td>Australia</td>\n",
              "      <td>Australia and New Zealand</td>\n",
              "      <td>10</td>\n",
              "      <td>7.284</td>\n",
              "      <td>0.04083</td>\n",
              "      <td>1.33358</td>\n",
              "      <td>1.30923</td>\n",
              "      <td>0.93156</td>\n",
              "      <td>0.65124</td>\n",
              "      <td>0.35637</td>\n",
              "      <td>0.43562</td>\n",
              "      <td>2.26646</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>\n",
              "    <div class=\"colab-df-buttons\">\n",
              "\n",
              "  <div class=\"colab-df-container\">\n",
              "    <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-2663b045-a2f0-4eba-9bde-294595ac74d6')\"\n",
              "            title=\"Convert this dataframe to an interactive table.\"\n",
              "            style=\"display:none;\">\n",
              "\n",
              "  <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\">\n",
              "    <path d=\"M120-120v-720h720v720H120Zm60-500h600v-160H180v160Zm220 220h160v-160H400v160Zm0 220h160v-160H400v160ZM180-400h160v-160H180v160Zm440 0h160v-160H620v160ZM180-180h160v-160H180v160Zm440 0h160v-160H620v160Z\"/>\n",
              "  </svg>\n",
              "    </button>\n",
              "\n",
              "  <style>\n",
              "    .colab-df-container {\n",
              "      display:flex;\n",
              "      gap: 12px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert {\n",
              "      background-color: #E8F0FE;\n",
              "      border: none;\n",
              "      border-radius: 50%;\n",
              "      cursor: pointer;\n",
              "      display: none;\n",
              "      fill: #1967D2;\n",
              "      height: 32px;\n",
              "      padding: 0 0 0 0;\n",
              "      width: 32px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert:hover {\n",
              "      background-color: #E2EBFA;\n",
              "      box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "      fill: #174EA6;\n",
              "    }\n",
              "\n",
              "    .colab-df-buttons div {\n",
              "      margin-bottom: 4px;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert {\n",
              "      background-color: #3B4455;\n",
              "      fill: #D2E3FC;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert:hover {\n",
              "      background-color: #434B5C;\n",
              "      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
              "      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
              "      fill: #FFFFFF;\n",
              "    }\n",
              "  </style>\n",
              "\n",
              "    <script>\n",
              "      const buttonEl =\n",
              "        document.querySelector('#df-2663b045-a2f0-4eba-9bde-294595ac74d6 button.colab-df-convert');\n",
              "      buttonEl.style.display =\n",
              "        google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "\n",
              "      async function convertToInteractive(key) {\n",
              "        const element = document.querySelector('#df-2663b045-a2f0-4eba-9bde-294595ac74d6');\n",
              "        const dataTable =\n",
              "          await google.colab.kernel.invokeFunction('convertToInteractive',\n",
              "                                                    [key], {});\n",
              "        if (!dataTable) return;\n",
              "\n",
              "        const docLinkHtml = 'Like what you see? Visit the ' +\n",
              "          '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
              "          + ' to learn more about interactive tables.';\n",
              "        element.innerHTML = '';\n",
              "        dataTable['output_type'] = 'display_data';\n",
              "        await google.colab.output.renderOutput(dataTable, element);\n",
              "        const docLink = document.createElement('div');\n",
              "        docLink.innerHTML = docLinkHtml;\n",
              "        element.appendChild(docLink);\n",
              "      }\n",
              "    </script>\n",
              "  </div>\n",
              "\n",
              "\n",
              "<div id=\"df-151e486d-b8dc-4038-a90e-b65c89be2a9f\">\n",
              "  <button class=\"colab-df-quickchart\" onclick=\"quickchart('df-151e486d-b8dc-4038-a90e-b65c89be2a9f')\"\n",
              "            title=\"Suggest charts\"\n",
              "            style=\"display:none;\">\n",
              "\n",
              "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
              "     width=\"24px\">\n",
              "    <g>\n",
              "        <path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"/>\n",
              "    </g>\n",
              "</svg>\n",
              "  </button>\n",
              "\n",
              "<style>\n",
              "  .colab-df-quickchart {\n",
              "      --bg-color: #E8F0FE;\n",
              "      --fill-color: #1967D2;\n",
              "      --hover-bg-color: #E2EBFA;\n",
              "      --hover-fill-color: #174EA6;\n",
              "      --disabled-fill-color: #AAA;\n",
              "      --disabled-bg-color: #DDD;\n",
              "  }\n",
              "\n",
              "  [theme=dark] .colab-df-quickchart {\n",
              "      --bg-color: #3B4455;\n",
              "      --fill-color: #D2E3FC;\n",
              "      --hover-bg-color: #434B5C;\n",
              "      --hover-fill-color: #FFFFFF;\n",
              "      --disabled-bg-color: #3B4455;\n",
              "      --disabled-fill-color: #666;\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart {\n",
              "    background-color: var(--bg-color);\n",
              "    border: none;\n",
              "    border-radius: 50%;\n",
              "    cursor: pointer;\n",
              "    display: none;\n",
              "    fill: var(--fill-color);\n",
              "    height: 32px;\n",
              "    padding: 0;\n",
              "    width: 32px;\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart:hover {\n",
              "    background-color: var(--hover-bg-color);\n",
              "    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "    fill: var(--button-hover-fill-color);\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart-complete:disabled,\n",
              "  .colab-df-quickchart-complete:disabled:hover {\n",
              "    background-color: var(--disabled-bg-color);\n",
              "    fill: var(--disabled-fill-color);\n",
              "    box-shadow: none;\n",
              "  }\n",
              "\n",
              "  .colab-df-spinner {\n",
              "    border: 2px solid var(--fill-color);\n",
              "    border-color: transparent;\n",
              "    border-bottom-color: var(--fill-color);\n",
              "    animation:\n",
              "      spin 1s steps(1) infinite;\n",
              "  }\n",
              "\n",
              "  @keyframes spin {\n",
              "    0% {\n",
              "      border-color: transparent;\n",
              "      border-bottom-color: var(--fill-color);\n",
              "      border-left-color: var(--fill-color);\n",
              "    }\n",
              "    20% {\n",
              "      border-color: transparent;\n",
              "      border-left-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "    }\n",
              "    30% {\n",
              "      border-color: transparent;\n",
              "      border-left-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "      border-right-color: var(--fill-color);\n",
              "    }\n",
              "    40% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "    }\n",
              "    60% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "    }\n",
              "    80% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "      border-bottom-color: var(--fill-color);\n",
              "    }\n",
              "    90% {\n",
              "      border-color: transparent;\n",
              "      border-bottom-color: var(--fill-color);\n",
              "    }\n",
              "  }\n",
              "</style>\n",
              "\n",
              "  <script>\n",
              "    async function quickchart(key) {\n",
              "      const quickchartButtonEl =\n",
              "        document.querySelector('#' + key + ' button');\n",
              "      quickchartButtonEl.disabled = true;  // To prevent multiple clicks.\n",
              "      quickchartButtonEl.classList.add('colab-df-spinner');\n",
              "      try {\n",
              "        const charts = await google.colab.kernel.invokeFunction(\n",
              "            'suggestCharts', [key], {});\n",
              "      } catch (error) {\n",
              "        console.error('Error during call to suggestCharts:', error);\n",
              "      }\n",
              "      quickchartButtonEl.classList.remove('colab-df-spinner');\n",
              "      quickchartButtonEl.classList.add('colab-df-quickchart-complete');\n",
              "    }\n",
              "    (() => {\n",
              "      let quickchartButtonEl =\n",
              "        document.querySelector('#df-151e486d-b8dc-4038-a90e-b65c89be2a9f button');\n",
              "      quickchartButtonEl.style.display =\n",
              "        google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "    })();\n",
              "  </script>\n",
              "</div>\n",
              "\n",
              "    </div>\n",
              "  </div>\n"
            ]
          },
          "metadata": {},
          "execution_count": 4
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# column info\n",
        "world_happiness.info()"
      ],
      "metadata": {
        "id": "AyI0YcJ41Yql",
        "outputId": "eeb3dfae-75af-4c32-9437-ee8f4daf4ce4",
        "colab": {
          "base_uri": "https://localhost:8080/"
        }
      },
      "execution_count": 6,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "<class 'pandas.core.frame.DataFrame'>\n",
            "RangeIndex: 158 entries, 0 to 157\n",
            "Data columns (total 12 columns):\n",
            " #   Column                         Non-Null Count  Dtype  \n",
            "---  ------                         --------------  -----  \n",
            " 0   Country                        158 non-null    object \n",
            " 1   Region                         158 non-null    object \n",
            " 2   Happiness Rank                 158 non-null    int64  \n",
            " 3   Happiness Score                158 non-null    float64\n",
            " 4   Standard Error                 158 non-null    float64\n",
            " 5   Economy (GDP per Capita)       158 non-null    float64\n",
            " 6   Family                         158 non-null    float64\n",
            " 7   Health (Life Expectancy)       158 non-null    float64\n",
            " 8   Freedom                        158 non-null    float64\n",
            " 9   Trust (Government Corruption)  158 non-null    float64\n",
            " 10  Generosity                     158 non-null    float64\n",
            " 11  Dystopia Residual              158 non-null    float64\n",
            "dtypes: float64(9), int64(1), object(2)\n",
            "memory usage: 14.9+ KB\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# summary of continuous variables\n",
        "world_happiness.describe()"
      ],
      "metadata": {
        "id": "nqyJzgwq1hOn",
        "outputId": "daa49a41-a629-4515-da38-32443b2f2435",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 355
        }
      },
      "execution_count": 8,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "       Happiness Rank  Happiness Score  Standard Error  \\\n",
              "count      158.000000       158.000000      158.000000   \n",
              "mean        79.493671         5.375734        0.047885   \n",
              "std         45.754363         1.145010        0.017146   \n",
              "min          1.000000         2.839000        0.018480   \n",
              "25%         40.250000         4.526000        0.037268   \n",
              "50%         79.500000         5.232500        0.043940   \n",
              "75%        118.750000         6.243750        0.052300   \n",
              "max        158.000000         7.587000        0.136930   \n",
              "\n",
              "       Economy (GDP per Capita)      Family  Health (Life Expectancy)  \\\n",
              "count                158.000000  158.000000                158.000000   \n",
              "mean                   0.846137    0.991046                  0.630259   \n",
              "std                    0.403121    0.272369                  0.247078   \n",
              "min                    0.000000    0.000000                  0.000000   \n",
              "25%                    0.545808    0.856823                  0.439185   \n",
              "50%                    0.910245    1.029510                  0.696705   \n",
              "75%                    1.158448    1.214405                  0.811013   \n",
              "max                    1.690420    1.402230                  1.025250   \n",
              "\n",
              "          Freedom  Trust (Government Corruption)  Generosity  \\\n",
              "count  158.000000                     158.000000  158.000000   \n",
              "mean     0.428615                       0.143422    0.237296   \n",
              "std      0.150693                       0.120034    0.126685   \n",
              "min      0.000000                       0.000000    0.000000   \n",
              "25%      0.328330                       0.061675    0.150553   \n",
              "50%      0.435515                       0.107220    0.216130   \n",
              "75%      0.549092                       0.180255    0.309883   \n",
              "max      0.669730                       0.551910    0.795880   \n",
              "\n",
              "       Dystopia Residual  \n",
              "count         158.000000  \n",
              "mean            2.098977  \n",
              "std             0.553550  \n",
              "min             0.328580  \n",
              "25%             1.759410  \n",
              "50%             2.095415  \n",
              "75%             2.462415  \n",
              "max             3.602140  "
            ],
            "text/html": [
              "\n",
              "  <div id=\"df-49cdaa18-500f-41a8-8e7e-0a0d56d78e07\" class=\"colab-df-container\">\n",
              "    <div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Happiness Rank</th>\n",
              "      <th>Happiness Score</th>\n",
              "      <th>Standard Error</th>\n",
              "      <th>Economy (GDP per Capita)</th>\n",
              "      <th>Family</th>\n",
              "      <th>Health (Life Expectancy)</th>\n",
              "      <th>Freedom</th>\n",
              "      <th>Trust (Government Corruption)</th>\n",
              "      <th>Generosity</th>\n",
              "      <th>Dystopia Residual</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>count</th>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "      <td>158.000000</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>mean</th>\n",
              "      <td>79.493671</td>\n",
              "      <td>5.375734</td>\n",
              "      <td>0.047885</td>\n",
              "      <td>0.846137</td>\n",
              "      <td>0.991046</td>\n",
              "      <td>0.630259</td>\n",
              "      <td>0.428615</td>\n",
              "      <td>0.143422</td>\n",
              "      <td>0.237296</td>\n",
              "      <td>2.098977</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>std</th>\n",
              "      <td>45.754363</td>\n",
              "      <td>1.145010</td>\n",
              "      <td>0.017146</td>\n",
              "      <td>0.403121</td>\n",
              "      <td>0.272369</td>\n",
              "      <td>0.247078</td>\n",
              "      <td>0.150693</td>\n",
              "      <td>0.120034</td>\n",
              "      <td>0.126685</td>\n",
              "      <td>0.553550</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>min</th>\n",
              "      <td>1.000000</td>\n",
              "      <td>2.839000</td>\n",
              "      <td>0.018480</td>\n",
              "      <td>0.000000</td>\n",
              "      <td>0.000000</td>\n",
              "      <td>0.000000</td>\n",
              "      <td>0.000000</td>\n",
              "      <td>0.000000</td>\n",
              "      <td>0.000000</td>\n",
              "      <td>0.328580</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>25%</th>\n",
              "      <td>40.250000</td>\n",
              "      <td>4.526000</td>\n",
              "      <td>0.037268</td>\n",
              "      <td>0.545808</td>\n",
              "      <td>0.856823</td>\n",
              "      <td>0.439185</td>\n",
              "      <td>0.328330</td>\n",
              "      <td>0.061675</td>\n",
              "      <td>0.150553</td>\n",
              "      <td>1.759410</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>50%</th>\n",
              "      <td>79.500000</td>\n",
              "      <td>5.232500</td>\n",
              "      <td>0.043940</td>\n",
              "      <td>0.910245</td>\n",
              "      <td>1.029510</td>\n",
              "      <td>0.696705</td>\n",
              "      <td>0.435515</td>\n",
              "      <td>0.107220</td>\n",
              "      <td>0.216130</td>\n",
              "      <td>2.095415</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>75%</th>\n",
              "      <td>118.750000</td>\n",
              "      <td>6.243750</td>\n",
              "      <td>0.052300</td>\n",
              "      <td>1.158448</td>\n",
              "      <td>1.214405</td>\n",
              "      <td>0.811013</td>\n",
              "      <td>0.549092</td>\n",
              "      <td>0.180255</td>\n",
              "      <td>0.309883</td>\n",
              "      <td>2.462415</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>max</th>\n",
              "      <td>158.000000</td>\n",
              "      <td>7.587000</td>\n",
              "      <td>0.136930</td>\n",
              "      <td>1.690420</td>\n",
              "      <td>1.402230</td>\n",
              "      <td>1.025250</td>\n",
              "      <td>0.669730</td>\n",
              "      <td>0.551910</td>\n",
              "      <td>0.795880</td>\n",
              "      <td>3.602140</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>\n",
              "    <div class=\"colab-df-buttons\">\n",
              "\n",
              "  <div class=\"colab-df-container\">\n",
              "    <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-49cdaa18-500f-41a8-8e7e-0a0d56d78e07')\"\n",
              "            title=\"Convert this dataframe to an interactive table.\"\n",
              "            style=\"display:none;\">\n",
              "\n",
              "  <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\">\n",
              "    <path d=\"M120-120v-720h720v720H120Zm60-500h600v-160H180v160Zm220 220h160v-160H400v160Zm0 220h160v-160H400v160ZM180-400h160v-160H180v160Zm440 0h160v-160H620v160ZM180-180h160v-160H180v160Zm440 0h160v-160H620v160Z\"/>\n",
              "  </svg>\n",
              "    </button>\n",
              "\n",
              "  <style>\n",
              "    .colab-df-container {\n",
              "      display:flex;\n",
              "      gap: 12px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert {\n",
              "      background-color: #E8F0FE;\n",
              "      border: none;\n",
              "      border-radius: 50%;\n",
              "      cursor: pointer;\n",
              "      display: none;\n",
              "      fill: #1967D2;\n",
              "      height: 32px;\n",
              "      padding: 0 0 0 0;\n",
              "      width: 32px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert:hover {\n",
              "      background-color: #E2EBFA;\n",
              "      box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "      fill: #174EA6;\n",
              "    }\n",
              "\n",
              "    .colab-df-buttons div {\n",
              "      margin-bottom: 4px;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert {\n",
              "      background-color: #3B4455;\n",
              "      fill: #D2E3FC;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert:hover {\n",
              "      background-color: #434B5C;\n",
              "      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
              "      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
              "      fill: #FFFFFF;\n",
              "    }\n",
              "  </style>\n",
              "\n",
              "    <script>\n",
              "      const buttonEl =\n",
              "        document.querySelector('#df-49cdaa18-500f-41a8-8e7e-0a0d56d78e07 button.colab-df-convert');\n",
              "      buttonEl.style.display =\n",
              "        google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "\n",
              "      async function convertToInteractive(key) {\n",
              "        const element = document.querySelector('#df-49cdaa18-500f-41a8-8e7e-0a0d56d78e07');\n",
              "        const dataTable =\n",
              "          await google.colab.kernel.invokeFunction('convertToInteractive',\n",
              "                                                    [key], {});\n",
              "        if (!dataTable) return;\n",
              "\n",
              "        const docLinkHtml = 'Like what you see? Visit the ' +\n",
              "          '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
              "          + ' to learn more about interactive tables.';\n",
              "        element.innerHTML = '';\n",
              "        dataTable['output_type'] = 'display_data';\n",
              "        await google.colab.output.renderOutput(dataTable, element);\n",
              "        const docLink = document.createElement('div');\n",
              "        docLink.innerHTML = docLinkHtml;\n",
              "        element.appendChild(docLink);\n",
              "      }\n",
              "    </script>\n",
              "  </div>\n",
              "\n",
              "\n",
              "<div id=\"df-b6823809-f03e-4412-95dc-566d7d9054da\">\n",
              "  <button class=\"colab-df-quickchart\" onclick=\"quickchart('df-b6823809-f03e-4412-95dc-566d7d9054da')\"\n",
              "            title=\"Suggest charts\"\n",
              "            style=\"display:none;\">\n",
              "\n",
              "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
              "     width=\"24px\">\n",
              "    <g>\n",
              "        <path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"/>\n",
              "    </g>\n",
              "</svg>\n",
              "  </button>\n",
              "\n",
              "<style>\n",
              "  .colab-df-quickchart {\n",
              "      --bg-color: #E8F0FE;\n",
              "      --fill-color: #1967D2;\n",
              "      --hover-bg-color: #E2EBFA;\n",
              "      --hover-fill-color: #174EA6;\n",
              "      --disabled-fill-color: #AAA;\n",
              "      --disabled-bg-color: #DDD;\n",
              "  }\n",
              "\n",
              "  [theme=dark] .colab-df-quickchart {\n",
              "      --bg-color: #3B4455;\n",
              "      --fill-color: #D2E3FC;\n",
              "      --hover-bg-color: #434B5C;\n",
              "      --hover-fill-color: #FFFFFF;\n",
              "      --disabled-bg-color: #3B4455;\n",
              "      --disabled-fill-color: #666;\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart {\n",
              "    background-color: var(--bg-color);\n",
              "    border: none;\n",
              "    border-radius: 50%;\n",
              "    cursor: pointer;\n",
              "    display: none;\n",
              "    fill: var(--fill-color);\n",
              "    height: 32px;\n",
              "    padding: 0;\n",
              "    width: 32px;\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart:hover {\n",
              "    background-color: var(--hover-bg-color);\n",
              "    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "    fill: var(--button-hover-fill-color);\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart-complete:disabled,\n",
              "  .colab-df-quickchart-complete:disabled:hover {\n",
              "    background-color: var(--disabled-bg-color);\n",
              "    fill: var(--disabled-fill-color);\n",
              "    box-shadow: none;\n",
              "  }\n",
              "\n",
              "  .colab-df-spinner {\n",
              "    border: 2px solid var(--fill-color);\n",
              "    border-color: transparent;\n",
              "    border-bottom-color: var(--fill-color);\n",
              "    animation:\n",
              "      spin 1s steps(1) infinite;\n",
              "  }\n",
              "\n",
              "  @keyframes spin {\n",
              "    0% {\n",
              "      border-color: transparent;\n",
              "      border-bottom-color: var(--fill-color);\n",
              "      border-left-color: var(--fill-color);\n",
              "    }\n",
              "    20% {\n",
              "      border-color: transparent;\n",
              "      border-left-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "    }\n",
              "    30% {\n",
              "      border-color: transparent;\n",
              "      border-left-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "      border-right-color: var(--fill-color);\n",
              "    }\n",
              "    40% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "    }\n",
              "    60% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "    }\n",
              "    80% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "      border-bottom-color: var(--fill-color);\n",
              "    }\n",
              "    90% {\n",
              "      border-color: transparent;\n",
              "      border-bottom-color: var(--fill-color);\n",
              "    }\n",
              "  }\n",
              "</style>\n",
              "\n",
              "  <script>\n",
              "    async function quickchart(key) {\n",
              "      const quickchartButtonEl =\n",
              "        document.querySelector('#' + key + ' button');\n",
              "      quickchartButtonEl.disabled = true;  // To prevent multiple clicks.\n",
              "      quickchartButtonEl.classList.add('colab-df-spinner');\n",
              "      try {\n",
              "        const charts = await google.colab.kernel.invokeFunction(\n",
              "            'suggestCharts', [key], {});\n",
              "      } catch (error) {\n",
              "        console.error('Error during call to suggestCharts:', error);\n",
              "      }\n",
              "      quickchartButtonEl.classList.remove('colab-df-spinner');\n",
              "      quickchartButtonEl.classList.add('colab-df-quickchart-complete');\n",
              "    }\n",
              "    (() => {\n",
              "      let quickchartButtonEl =\n",
              "        document.querySelector('#df-b6823809-f03e-4412-95dc-566d7d9054da button');\n",
              "      quickchartButtonEl.style.display =\n",
              "        google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "    })();\n",
              "  </script>\n",
              "</div>\n",
              "\n",
              "    </div>\n",
              "  </div>\n"
            ]
          },
          "metadata": {},
          "execution_count": 8
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# print out column names\n",
        "world_happiness.columns"
      ],
      "metadata": {
        "id": "7XRavUcv1lim",
        "outputId": "48372b0c-7427-40c5-e8c9-4116bfdfb2bf",
        "colab": {
          "base_uri": "https://localhost:8080/"
        }
      },
      "execution_count": 9,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "Index(['Country', 'Region', 'Happiness Rank', 'Happiness Score',\n",
              "       'Standard Error', 'Economy (GDP per Capita)', 'Family',\n",
              "       'Health (Life Expectancy)', 'Freedom', 'Trust (Government Corruption)',\n",
              "       'Generosity', 'Dystopia Residual'],\n",
              "      dtype='object')"
            ]
          },
          "metadata": {},
          "execution_count": 9
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# get 10 countries with higest happiness rank\n",
        "world_happiness.groupby(\"Country\").mean().nlargest(10, \"Happiness Rank\")"
      ],
      "metadata": {
        "id": "F2HEkt4a1r8R",
        "outputId": "be806e81-dd5d-446d-b46e-4442767f3310",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 484
        }
      },
      "execution_count": 13,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "              Happiness Rank  Happiness Score  Standard Error  \\\n",
              "Country                                                         \n",
              "Togo                   158.0            2.839         0.06727   \n",
              "Burundi                157.0            2.905         0.08658   \n",
              "Syria                  156.0            3.006         0.05015   \n",
              "Benin                  155.0            3.340         0.03656   \n",
              "Rwanda                 154.0            3.465         0.03464   \n",
              "Afghanistan            153.0            3.575         0.03084   \n",
              "Burkina Faso           152.0            3.587         0.04324   \n",
              "Ivory Coast            151.0            3.655         0.05141   \n",
              "Guinea                 150.0            3.656         0.03590   \n",
              "Chad                   149.0            3.667         0.03830   \n",
              "\n",
              "              Economy (GDP per Capita)   Family  Health (Life Expectancy)  \\\n",
              "Country                                                                     \n",
              "Togo                           0.20868  0.13995                   0.28443   \n",
              "Burundi                        0.01530  0.41587                   0.22396   \n",
              "Syria                          0.66320  0.47489                   0.72193   \n",
              "Benin                          0.28665  0.35386                   0.31910   \n",
              "Rwanda                         0.22208  0.77370                   0.42864   \n",
              "Afghanistan                    0.31982  0.30285                   0.30335   \n",
              "Burkina Faso                   0.25812  0.85188                   0.27125   \n",
              "Ivory Coast                    0.46534  0.77115                   0.15185   \n",
              "Guinea                         0.17417  0.46475                   0.24009   \n",
              "Chad                           0.34193  0.76062                   0.15010   \n",
              "\n",
              "              Freedom  Trust (Government Corruption)  Generosity  \\\n",
              "Country                                                            \n",
              "Togo          0.36453                        0.10731     0.16681   \n",
              "Burundi       0.11850                        0.10062     0.19727   \n",
              "Syria         0.15684                        0.18906     0.47179   \n",
              "Benin         0.48450                        0.08010     0.18260   \n",
              "Rwanda        0.59201                        0.55191     0.22628   \n",
              "Afghanistan   0.23414                        0.09719     0.36510   \n",
              "Burkina Faso  0.39493                        0.12832     0.21747   \n",
              "Ivory Coast   0.46866                        0.17922     0.20165   \n",
              "Guinea        0.37725                        0.12139     0.28657   \n",
              "Chad          0.23501                        0.05269     0.18386   \n",
              "\n",
              "              Dystopia Residual  \n",
              "Country                          \n",
              "Togo                    1.56726  \n",
              "Burundi                 1.83302  \n",
              "Syria                   0.32858  \n",
              "Benin                   1.63328  \n",
              "Rwanda                  0.67042  \n",
              "Afghanistan             1.95210  \n",
              "Burkina Faso            1.46494  \n",
              "Ivory Coast             1.41723  \n",
              "Guinea                  1.99172  \n",
              "Chad                    1.94296  "
            ],
            "text/html": [
              "\n",
              "  <div id=\"df-e88f4375-ec09-432f-bd26-3d1c92131663\" class=\"colab-df-container\">\n",
              "    <div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Happiness Rank</th>\n",
              "      <th>Happiness Score</th>\n",
              "      <th>Standard Error</th>\n",
              "      <th>Economy (GDP per Capita)</th>\n",
              "      <th>Family</th>\n",
              "      <th>Health (Life Expectancy)</th>\n",
              "      <th>Freedom</th>\n",
              "      <th>Trust (Government Corruption)</th>\n",
              "      <th>Generosity</th>\n",
              "      <th>Dystopia Residual</th>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Country</th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "      <th></th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>Togo</th>\n",
              "      <td>158.0</td>\n",
              "      <td>2.839</td>\n",
              "      <td>0.06727</td>\n",
              "      <td>0.20868</td>\n",
              "      <td>0.13995</td>\n",
              "      <td>0.28443</td>\n",
              "      <td>0.36453</td>\n",
              "      <td>0.10731</td>\n",
              "      <td>0.16681</td>\n",
              "      <td>1.56726</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Burundi</th>\n",
              "      <td>157.0</td>\n",
              "      <td>2.905</td>\n",
              "      <td>0.08658</td>\n",
              "      <td>0.01530</td>\n",
              "      <td>0.41587</td>\n",
              "      <td>0.22396</td>\n",
              "      <td>0.11850</td>\n",
              "      <td>0.10062</td>\n",
              "      <td>0.19727</td>\n",
              "      <td>1.83302</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Syria</th>\n",
              "      <td>156.0</td>\n",
              "      <td>3.006</td>\n",
              "      <td>0.05015</td>\n",
              "      <td>0.66320</td>\n",
              "      <td>0.47489</td>\n",
              "      <td>0.72193</td>\n",
              "      <td>0.15684</td>\n",
              "      <td>0.18906</td>\n",
              "      <td>0.47179</td>\n",
              "      <td>0.32858</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Benin</th>\n",
              "      <td>155.0</td>\n",
              "      <td>3.340</td>\n",
              "      <td>0.03656</td>\n",
              "      <td>0.28665</td>\n",
              "      <td>0.35386</td>\n",
              "      <td>0.31910</td>\n",
              "      <td>0.48450</td>\n",
              "      <td>0.08010</td>\n",
              "      <td>0.18260</td>\n",
              "      <td>1.63328</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Rwanda</th>\n",
              "      <td>154.0</td>\n",
              "      <td>3.465</td>\n",
              "      <td>0.03464</td>\n",
              "      <td>0.22208</td>\n",
              "      <td>0.77370</td>\n",
              "      <td>0.42864</td>\n",
              "      <td>0.59201</td>\n",
              "      <td>0.55191</td>\n",
              "      <td>0.22628</td>\n",
              "      <td>0.67042</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Afghanistan</th>\n",
              "      <td>153.0</td>\n",
              "      <td>3.575</td>\n",
              "      <td>0.03084</td>\n",
              "      <td>0.31982</td>\n",
              "      <td>0.30285</td>\n",
              "      <td>0.30335</td>\n",
              "      <td>0.23414</td>\n",
              "      <td>0.09719</td>\n",
              "      <td>0.36510</td>\n",
              "      <td>1.95210</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Burkina Faso</th>\n",
              "      <td>152.0</td>\n",
              "      <td>3.587</td>\n",
              "      <td>0.04324</td>\n",
              "      <td>0.25812</td>\n",
              "      <td>0.85188</td>\n",
              "      <td>0.27125</td>\n",
              "      <td>0.39493</td>\n",
              "      <td>0.12832</td>\n",
              "      <td>0.21747</td>\n",
              "      <td>1.46494</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Ivory Coast</th>\n",
              "      <td>151.0</td>\n",
              "      <td>3.655</td>\n",
              "      <td>0.05141</td>\n",
              "      <td>0.46534</td>\n",
              "      <td>0.77115</td>\n",
              "      <td>0.15185</td>\n",
              "      <td>0.46866</td>\n",
              "      <td>0.17922</td>\n",
              "      <td>0.20165</td>\n",
              "      <td>1.41723</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Guinea</th>\n",
              "      <td>150.0</td>\n",
              "      <td>3.656</td>\n",
              "      <td>0.03590</td>\n",
              "      <td>0.17417</td>\n",
              "      <td>0.46475</td>\n",
              "      <td>0.24009</td>\n",
              "      <td>0.37725</td>\n",
              "      <td>0.12139</td>\n",
              "      <td>0.28657</td>\n",
              "      <td>1.99172</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>Chad</th>\n",
              "      <td>149.0</td>\n",
              "      <td>3.667</td>\n",
              "      <td>0.03830</td>\n",
              "      <td>0.34193</td>\n",
              "      <td>0.76062</td>\n",
              "      <td>0.15010</td>\n",
              "      <td>0.23501</td>\n",
              "      <td>0.05269</td>\n",
              "      <td>0.18386</td>\n",
              "      <td>1.94296</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>\n",
              "    <div class=\"colab-df-buttons\">\n",
              "\n",
              "  <div class=\"colab-df-container\">\n",
              "    <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-e88f4375-ec09-432f-bd26-3d1c92131663')\"\n",
              "            title=\"Convert this dataframe to an interactive table.\"\n",
              "            style=\"display:none;\">\n",
              "\n",
              "  <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\">\n",
              "    <path d=\"M120-120v-720h720v720H120Zm60-500h600v-160H180v160Zm220 220h160v-160H400v160Zm0 220h160v-160H400v160ZM180-400h160v-160H180v160Zm440 0h160v-160H620v160ZM180-180h160v-160H180v160Zm440 0h160v-160H620v160Z\"/>\n",
              "  </svg>\n",
              "    </button>\n",
              "\n",
              "  <style>\n",
              "    .colab-df-container {\n",
              "      display:flex;\n",
              "      gap: 12px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert {\n",
              "      background-color: #E8F0FE;\n",
              "      border: none;\n",
              "      border-radius: 50%;\n",
              "      cursor: pointer;\n",
              "      display: none;\n",
              "      fill: #1967D2;\n",
              "      height: 32px;\n",
              "      padding: 0 0 0 0;\n",
              "      width: 32px;\n",
              "    }\n",
              "\n",
              "    .colab-df-convert:hover {\n",
              "      background-color: #E2EBFA;\n",
              "      box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "      fill: #174EA6;\n",
              "    }\n",
              "\n",
              "    .colab-df-buttons div {\n",
              "      margin-bottom: 4px;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert {\n",
              "      background-color: #3B4455;\n",
              "      fill: #D2E3FC;\n",
              "    }\n",
              "\n",
              "    [theme=dark] .colab-df-convert:hover {\n",
              "      background-color: #434B5C;\n",
              "      box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
              "      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
              "      fill: #FFFFFF;\n",
              "    }\n",
              "  </style>\n",
              "\n",
              "    <script>\n",
              "      const buttonEl =\n",
              "        document.querySelector('#df-e88f4375-ec09-432f-bd26-3d1c92131663 button.colab-df-convert');\n",
              "      buttonEl.style.display =\n",
              "        google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "\n",
              "      async function convertToInteractive(key) {\n",
              "        const element = document.querySelector('#df-e88f4375-ec09-432f-bd26-3d1c92131663');\n",
              "        const dataTable =\n",
              "          await google.colab.kernel.invokeFunction('convertToInteractive',\n",
              "                                                    [key], {});\n",
              "        if (!dataTable) return;\n",
              "\n",
              "        const docLinkHtml = 'Like what you see? Visit the ' +\n",
              "          '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
              "          + ' to learn more about interactive tables.';\n",
              "        element.innerHTML = '';\n",
              "        dataTable['output_type'] = 'display_data';\n",
              "        await google.colab.output.renderOutput(dataTable, element);\n",
              "        const docLink = document.createElement('div');\n",
              "        docLink.innerHTML = docLinkHtml;\n",
              "        element.appendChild(docLink);\n",
              "      }\n",
              "    </script>\n",
              "  </div>\n",
              "\n",
              "\n",
              "<div id=\"df-211bb63b-07ad-4f38-aa52-35ec107d97cb\">\n",
              "  <button class=\"colab-df-quickchart\" onclick=\"quickchart('df-211bb63b-07ad-4f38-aa52-35ec107d97cb')\"\n",
              "            title=\"Suggest charts\"\n",
              "            style=\"display:none;\">\n",
              "\n",
              "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
              "     width=\"24px\">\n",
              "    <g>\n",
              "        <path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"/>\n",
              "    </g>\n",
              "</svg>\n",
              "  </button>\n",
              "\n",
              "<style>\n",
              "  .colab-df-quickchart {\n",
              "      --bg-color: #E8F0FE;\n",
              "      --fill-color: #1967D2;\n",
              "      --hover-bg-color: #E2EBFA;\n",
              "      --hover-fill-color: #174EA6;\n",
              "      --disabled-fill-color: #AAA;\n",
              "      --disabled-bg-color: #DDD;\n",
              "  }\n",
              "\n",
              "  [theme=dark] .colab-df-quickchart {\n",
              "      --bg-color: #3B4455;\n",
              "      --fill-color: #D2E3FC;\n",
              "      --hover-bg-color: #434B5C;\n",
              "      --hover-fill-color: #FFFFFF;\n",
              "      --disabled-bg-color: #3B4455;\n",
              "      --disabled-fill-color: #666;\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart {\n",
              "    background-color: var(--bg-color);\n",
              "    border: none;\n",
              "    border-radius: 50%;\n",
              "    cursor: pointer;\n",
              "    display: none;\n",
              "    fill: var(--fill-color);\n",
              "    height: 32px;\n",
              "    padding: 0;\n",
              "    width: 32px;\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart:hover {\n",
              "    background-color: var(--hover-bg-color);\n",
              "    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
              "    fill: var(--button-hover-fill-color);\n",
              "  }\n",
              "\n",
              "  .colab-df-quickchart-complete:disabled,\n",
              "  .colab-df-quickchart-complete:disabled:hover {\n",
              "    background-color: var(--disabled-bg-color);\n",
              "    fill: var(--disabled-fill-color);\n",
              "    box-shadow: none;\n",
              "  }\n",
              "\n",
              "  .colab-df-spinner {\n",
              "    border: 2px solid var(--fill-color);\n",
              "    border-color: transparent;\n",
              "    border-bottom-color: var(--fill-color);\n",
              "    animation:\n",
              "      spin 1s steps(1) infinite;\n",
              "  }\n",
              "\n",
              "  @keyframes spin {\n",
              "    0% {\n",
              "      border-color: transparent;\n",
              "      border-bottom-color: var(--fill-color);\n",
              "      border-left-color: var(--fill-color);\n",
              "    }\n",
              "    20% {\n",
              "      border-color: transparent;\n",
              "      border-left-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "    }\n",
              "    30% {\n",
              "      border-color: transparent;\n",
              "      border-left-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "      border-right-color: var(--fill-color);\n",
              "    }\n",
              "    40% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "      border-top-color: var(--fill-color);\n",
              "    }\n",
              "    60% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "    }\n",
              "    80% {\n",
              "      border-color: transparent;\n",
              "      border-right-color: var(--fill-color);\n",
              "      border-bottom-color: var(--fill-color);\n",
              "    }\n",
              "    90% {\n",
              "      border-color: transparent;\n",
              "      border-bottom-color: var(--fill-color);\n",
              "    }\n",
              "  }\n",
              "</style>\n",
              "\n",
              "  <script>\n",
              "    async function quickchart(key) {\n",
              "      const quickchartButtonEl =\n",
              "        document.querySelector('#' + key + ' button');\n",
              "      quickchartButtonEl.disabled = true;  // To prevent multiple clicks.\n",
              "      quickchartButtonEl.classList.add('colab-df-spinner');\n",
              "      try {\n",
              "        const charts = await google.colab.kernel.invokeFunction(\n",
              "            'suggestCharts', [key], {});\n",
              "      } catch (error) {\n",
              "        console.error('Error during call to suggestCharts:', error);\n",
              "      }\n",
              "      quickchartButtonEl.classList.remove('colab-df-spinner');\n",
              "      quickchartButtonEl.classList.add('colab-df-quickchart-complete');\n",
              "    }\n",
              "    (() => {\n",
              "      let quickchartButtonEl =\n",
              "        document.querySelector('#df-211bb63b-07ad-4f38-aa52-35ec107d97cb button');\n",
              "      quickchartButtonEl.style.display =\n",
              "        google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
              "    })();\n",
              "  </script>\n",
              "</div>\n",
              "\n",
              "    </div>\n",
              "  </div>\n"
            ]
          },
          "metadata": {},
          "execution_count": 13
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# loop through columns\n",
        "for col in world_happiness:\n",
        "  print(col)"
      ],
      "metadata": {
        "id": "TuZHgDRM2FL8",
        "outputId": "bedb1b54-df46-4b90-df20-9c1ecae64dea",
        "colab": {
          "base_uri": "https://localhost:8080/"
        }
      },
      "execution_count": 14,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Country\n",
            "Region\n",
            "Happiness Rank\n",
            "Happiness Score\n",
            "Standard Error\n",
            "Economy (GDP per Capita)\n",
            "Family\n",
            "Health (Life Expectancy)\n",
            "Freedom\n",
            "Trust (Government Corruption)\n",
            "Generosity\n",
            "Dystopia Residual\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "# loop through rows\n",
        "for i in range(world_happiness.shape[0]):\n",
        "  print(world_happiness.iloc[i])"
      ],
      "metadata": {
        "id": "XU6V2Ch72JIb",
        "outputId": "479bf6df-cf25-4404-d873-9178da94b9f2",
        "colab": {
          "base_uri": "https://localhost:8080/"
        }
      },
      "execution_count": 16,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Country                             Switzerland\n",
            "Region                           Western Europe\n",
            "Happiness Rank                                1\n",
            "Happiness Score                           7.587\n",
            "Standard Error                          0.03411\n",
            "Economy (GDP per Capita)                1.39651\n",
            "Family                                  1.34951\n",
            "Health (Life Expectancy)                0.94143\n",
            "Freedom                                 0.66557\n",
            "Trust (Government Corruption)           0.41978\n",
            "Generosity                              0.29678\n",
            "Dystopia Residual                       2.51738\n",
            "Name: 0, dtype: object\n",
            "Country                                 Iceland\n",
            "Region                           Western Europe\n",
            "Happiness Rank                                2\n",
            "Happiness Score                           7.561\n",
            "Standard Error                          0.04884\n",
            "Economy (GDP per Capita)                1.30232\n",
            "Family                                  1.40223\n",
            "Health (Life Expectancy)                0.94784\n",
            "Freedom                                 0.62877\n",
            "Trust (Government Corruption)           0.14145\n",
            "Generosity                               0.4363\n",
            "Dystopia Residual                       2.70201\n",
            "Name: 1, dtype: object\n",
            "Country                                 Denmark\n",
            "Region                           Western Europe\n",
            "Happiness Rank                                3\n",
            "Happiness Score                           7.527\n",
            "Standard Error                          0.03328\n",
            "Economy (GDP per Capita)                1.32548\n",
            "Family                                  1.36058\n",
            "Health (Life Expectancy)                0.87464\n",
            "Freedom                                 0.64938\n",
            "Trust (Government Corruption)           0.48357\n",
            "Generosity                              0.34139\n",
            "Dystopia Residual                       2.49204\n",
            "Name: 2, dtype: object\n",
            "Country                                  Norway\n",
            "Region                           Western Europe\n",
            "Happiness Rank                                4\n",
            "Happiness Score                           7.522\n",
            "Standard Error                           0.0388\n",
            "Economy (GDP per Capita)                  1.459\n",
            "Family                                  1.33095\n",
            "Health (Life Expectancy)                0.88521\n",
            "Freedom                                 0.66973\n",
            "Trust (Government Corruption)           0.36503\n",
            "Generosity                              0.34699\n",
            "Dystopia Residual                       2.46531\n",
            "Name: 3, dtype: object\n",
            "Country                                 Canada\n",
            "Region                           North America\n",
            "Happiness Rank                               5\n",
            "Happiness Score                          7.427\n",
            "Standard Error                         0.03553\n",
            "Economy (GDP per Capita)               1.32629\n",
            "Family                                 1.32261\n",
            "Health (Life Expectancy)               0.90563\n",
            "Freedom                                0.63297\n",
            "Trust (Government Corruption)          0.32957\n",
            "Generosity                             0.45811\n",
            "Dystopia Residual                      2.45176\n",
            "Name: 4, dtype: object\n",
            "Country                                 Finland\n",
            "Region                           Western Europe\n",
            "Happiness Rank                                6\n",
            "Happiness Score                           7.406\n",
            "Standard Error                           0.0314\n",
            "Economy (GDP per Capita)                1.29025\n",
            "Family                                  1.31826\n",
            "Health (Life Expectancy)                0.88911\n",
            "Freedom                                 0.64169\n",
            "Trust (Government Corruption)           0.41372\n",
            "Generosity                              0.23351\n",
            "Dystopia Residual                       2.61955\n",
            "Name: 5, dtype: object\n",
            "Country                             Netherlands\n",
            "Region                           Western Europe\n",
            "Happiness Rank                                7\n",
            "Happiness Score                           7.378\n",
            "Standard Error                          0.02799\n",
            "Economy (GDP per Capita)                1.32944\n",
            "Family                                  1.28017\n",
            "Health (Life Expectancy)                0.89284\n",
            "Freedom                                 0.61576\n",
            "Trust (Government Corruption)           0.31814\n",
            "Generosity                               0.4761\n",
            "Dystopia Residual                        2.4657\n",
            "Name: 6, dtype: object\n",
            "Country                                  Sweden\n",
            "Region                           Western Europe\n",
            "Happiness Rank                                8\n",
            "Happiness Score                           7.364\n",
            "Standard Error                          0.03157\n",
            "Economy (GDP per Capita)                1.33171\n",
            "Family                                  1.28907\n",
            "Health (Life Expectancy)                0.91087\n",
            "Freedom                                  0.6598\n",
            "Trust (Government Corruption)           0.43844\n",
            "Generosity                              0.36262\n",
            "Dystopia Residual                       2.37119\n",
            "Name: 7, dtype: object\n",
            "Country                                        New Zealand\n",
            "Region                           Australia and New Zealand\n",
            "Happiness Rank                                           9\n",
            "Happiness Score                                      7.286\n",
            "Standard Error                                     0.03371\n",
            "Economy (GDP per Capita)                           1.25018\n",
            "Family                                             1.31967\n",
            "Health (Life Expectancy)                           0.90837\n",
            "Freedom                                            0.63938\n",
            "Trust (Government Corruption)                      0.42922\n",
            "Generosity                                         0.47501\n",
            "Dystopia Residual                                  2.26425\n",
            "Name: 8, dtype: object\n",
            "Country                                          Australia\n",
            "Region                           Australia and New Zealand\n",
            "Happiness Rank                                          10\n",
            "Happiness Score                                      7.284\n",
            "Standard Error                                     0.04083\n",
            "Economy (GDP per Capita)                           1.33358\n",
            "Family                                             1.30923\n",
            "Health (Life Expectancy)                           0.93156\n",
            "Freedom                                            0.65124\n",
            "Trust (Government Corruption)                      0.35637\n",
            "Generosity                                         0.43562\n",
            "Dystopia Residual                                  2.26646\n",
            "Name: 9, dtype: object\n",
            "Country                                                   Israel\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                11\n",
            "Happiness Score                                            7.278\n",
            "Standard Error                                            0.0347\n",
            "Economy (GDP per Capita)                                 1.22857\n",
            "Family                                                   1.22393\n",
            "Health (Life Expectancy)                                 0.91387\n",
            "Freedom                                                  0.41319\n",
            "Trust (Government Corruption)                            0.07785\n",
            "Generosity                                               0.33172\n",
            "Dystopia Residual                                        3.08854\n",
            "Name: 10, dtype: object\n",
            "Country                                           Costa Rica\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            12\n",
            "Happiness Score                                        7.226\n",
            "Standard Error                                       0.04454\n",
            "Economy (GDP per Capita)                             0.95578\n",
            "Family                                               1.23788\n",
            "Health (Life Expectancy)                             0.86027\n",
            "Freedom                                              0.63376\n",
            "Trust (Government Corruption)                        0.10583\n",
            "Generosity                                           0.25497\n",
            "Dystopia Residual                                    3.17728\n",
            "Name: 11, dtype: object\n",
            "Country                                 Austria\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               13\n",
            "Happiness Score                             7.2\n",
            "Standard Error                          0.03751\n",
            "Economy (GDP per Capita)                1.33723\n",
            "Family                                  1.29704\n",
            "Health (Life Expectancy)                0.89042\n",
            "Freedom                                 0.62433\n",
            "Trust (Government Corruption)           0.18676\n",
            "Generosity                              0.33088\n",
            "Dystopia Residual                        2.5332\n",
            "Name: 12, dtype: object\n",
            "Country                                               Mexico\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            14\n",
            "Happiness Score                                        7.187\n",
            "Standard Error                                       0.04176\n",
            "Economy (GDP per Capita)                             1.02054\n",
            "Family                                               0.91451\n",
            "Health (Life Expectancy)                             0.81444\n",
            "Freedom                                              0.48181\n",
            "Trust (Government Corruption)                        0.21312\n",
            "Generosity                                           0.14074\n",
            "Dystopia Residual                                    3.60214\n",
            "Name: 13, dtype: object\n",
            "Country                          United States\n",
            "Region                           North America\n",
            "Happiness Rank                              15\n",
            "Happiness Score                          7.119\n",
            "Standard Error                         0.03839\n",
            "Economy (GDP per Capita)               1.39451\n",
            "Family                                 1.24711\n",
            "Health (Life Expectancy)               0.86179\n",
            "Freedom                                0.54604\n",
            "Trust (Government Corruption)           0.1589\n",
            "Generosity                             0.40105\n",
            "Dystopia Residual                      2.51011\n",
            "Name: 14, dtype: object\n",
            "Country                                               Brazil\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            16\n",
            "Happiness Score                                        6.983\n",
            "Standard Error                                       0.04076\n",
            "Economy (GDP per Capita)                             0.98124\n",
            "Family                                               1.23287\n",
            "Health (Life Expectancy)                             0.69702\n",
            "Freedom                                              0.49049\n",
            "Trust (Government Corruption)                        0.17521\n",
            "Generosity                                           0.14574\n",
            "Dystopia Residual                                    3.26001\n",
            "Name: 15, dtype: object\n",
            "Country                              Luxembourg\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               17\n",
            "Happiness Score                           6.946\n",
            "Standard Error                          0.03499\n",
            "Economy (GDP per Capita)                1.56391\n",
            "Family                                  1.21963\n",
            "Health (Life Expectancy)                0.91894\n",
            "Freedom                                 0.61583\n",
            "Trust (Government Corruption)           0.37798\n",
            "Generosity                              0.28034\n",
            "Dystopia Residual                       1.96961\n",
            "Name: 16, dtype: object\n",
            "Country                                 Ireland\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               18\n",
            "Happiness Score                            6.94\n",
            "Standard Error                          0.03676\n",
            "Economy (GDP per Capita)                1.33596\n",
            "Family                                  1.36948\n",
            "Health (Life Expectancy)                0.89533\n",
            "Freedom                                 0.61777\n",
            "Trust (Government Corruption)           0.28703\n",
            "Generosity                              0.45901\n",
            "Dystopia Residual                        1.9757\n",
            "Name: 17, dtype: object\n",
            "Country                                 Belgium\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               19\n",
            "Happiness Score                           6.937\n",
            "Standard Error                          0.03595\n",
            "Economy (GDP per Capita)                1.30782\n",
            "Family                                  1.28566\n",
            "Health (Life Expectancy)                0.89667\n",
            "Freedom                                  0.5845\n",
            "Trust (Government Corruption)            0.2254\n",
            "Generosity                               0.2225\n",
            "Dystopia Residual                       2.41484\n",
            "Name: 18, dtype: object\n",
            "Country                                     United Arab Emirates\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                20\n",
            "Happiness Score                                            6.901\n",
            "Standard Error                                           0.03729\n",
            "Economy (GDP per Capita)                                 1.42727\n",
            "Family                                                   1.12575\n",
            "Health (Life Expectancy)                                 0.80925\n",
            "Freedom                                                  0.64157\n",
            "Trust (Government Corruption)                            0.38583\n",
            "Generosity                                               0.26428\n",
            "Dystopia Residual                                        2.24743\n",
            "Name: 19, dtype: object\n",
            "Country                          United Kingdom\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               21\n",
            "Happiness Score                           6.867\n",
            "Standard Error                          0.01866\n",
            "Economy (GDP per Capita)                1.26637\n",
            "Family                                  1.28548\n",
            "Health (Life Expectancy)                0.90943\n",
            "Freedom                                 0.59625\n",
            "Trust (Government Corruption)           0.32067\n",
            "Generosity                              0.51912\n",
            "Dystopia Residual                       1.96994\n",
            "Name: 20, dtype: object\n",
            "Country                                                     Oman\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                22\n",
            "Happiness Score                                            6.853\n",
            "Standard Error                                           0.05335\n",
            "Economy (GDP per Capita)                                 1.36011\n",
            "Family                                                   1.08182\n",
            "Health (Life Expectancy)                                 0.76276\n",
            "Freedom                                                  0.63274\n",
            "Trust (Government Corruption)                            0.32524\n",
            "Generosity                                               0.21542\n",
            "Dystopia Residual                                        2.47489\n",
            "Name: 21, dtype: object\n",
            "Country                                            Venezuela\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            23\n",
            "Happiness Score                                         6.81\n",
            "Standard Error                                       0.06476\n",
            "Economy (GDP per Capita)                             1.04424\n",
            "Family                                               1.25596\n",
            "Health (Life Expectancy)                             0.72052\n",
            "Freedom                                              0.42908\n",
            "Trust (Government Corruption)                        0.11069\n",
            "Generosity                                           0.05841\n",
            "Dystopia Residual                                    3.19131\n",
            "Name: 22, dtype: object\n",
            "Country                                  Singapore\n",
            "Region                           Southeastern Asia\n",
            "Happiness Rank                                  24\n",
            "Happiness Score                              6.798\n",
            "Standard Error                              0.0378\n",
            "Economy (GDP per Capita)                   1.52186\n",
            "Family                                        1.02\n",
            "Health (Life Expectancy)                   1.02525\n",
            "Freedom                                    0.54252\n",
            "Trust (Government Corruption)               0.4921\n",
            "Generosity                                 0.31105\n",
            "Dystopia Residual                          1.88501\n",
            "Name: 23, dtype: object\n",
            "Country                                               Panama\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            25\n",
            "Happiness Score                                        6.786\n",
            "Standard Error                                        0.0491\n",
            "Economy (GDP per Capita)                             1.06353\n",
            "Family                                                1.1985\n",
            "Health (Life Expectancy)                             0.79661\n",
            "Freedom                                               0.5421\n",
            "Trust (Government Corruption)                         0.0927\n",
            "Generosity                                           0.24434\n",
            "Dystopia Residual                                    2.84848\n",
            "Name: 24, dtype: object\n",
            "Country                                 Germany\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               26\n",
            "Happiness Score                            6.75\n",
            "Standard Error                          0.01848\n",
            "Economy (GDP per Capita)                1.32792\n",
            "Family                                  1.29937\n",
            "Health (Life Expectancy)                0.89186\n",
            "Freedom                                 0.61477\n",
            "Trust (Government Corruption)           0.21843\n",
            "Generosity                              0.28214\n",
            "Dystopia Residual                       2.11569\n",
            "Name: 25, dtype: object\n",
            "Country                                                Chile\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            27\n",
            "Happiness Score                                         6.67\n",
            "Standard Error                                         0.058\n",
            "Economy (GDP per Capita)                             1.10715\n",
            "Family                                               1.12447\n",
            "Health (Life Expectancy)                             0.85857\n",
            "Freedom                                              0.44132\n",
            "Trust (Government Corruption)                        0.12869\n",
            "Generosity                                           0.33363\n",
            "Dystopia Residual                                    2.67585\n",
            "Name: 26, dtype: object\n",
            "Country                                                    Qatar\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                28\n",
            "Happiness Score                                            6.611\n",
            "Standard Error                                           0.06257\n",
            "Economy (GDP per Capita)                                 1.69042\n",
            "Family                                                    1.0786\n",
            "Health (Life Expectancy)                                 0.79733\n",
            "Freedom                                                   0.6404\n",
            "Trust (Government Corruption)                            0.52208\n",
            "Generosity                                               0.32573\n",
            "Dystopia Residual                                        1.55674\n",
            "Name: 27, dtype: object\n",
            "Country                                  France\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               29\n",
            "Happiness Score                           6.575\n",
            "Standard Error                          0.03512\n",
            "Economy (GDP per Capita)                1.27778\n",
            "Family                                  1.26038\n",
            "Health (Life Expectancy)                0.94579\n",
            "Freedom                                 0.55011\n",
            "Trust (Government Corruption)           0.20646\n",
            "Generosity                              0.12332\n",
            "Dystopia Residual                       2.21126\n",
            "Name: 28, dtype: object\n",
            "Country                                            Argentina\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            30\n",
            "Happiness Score                                        6.574\n",
            "Standard Error                                       0.04612\n",
            "Economy (GDP per Capita)                             1.05351\n",
            "Family                                               1.24823\n",
            "Health (Life Expectancy)                             0.78723\n",
            "Freedom                                              0.44974\n",
            "Trust (Government Corruption)                        0.08484\n",
            "Generosity                                           0.11451\n",
            "Dystopia Residual                                      2.836\n",
            "Name: 29, dtype: object\n",
            "Country                                      Czech Republic\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           31\n",
            "Happiness Score                                       6.505\n",
            "Standard Error                                      0.04168\n",
            "Economy (GDP per Capita)                            1.17898\n",
            "Family                                              1.20643\n",
            "Health (Life Expectancy)                            0.84483\n",
            "Freedom                                             0.46364\n",
            "Trust (Government Corruption)                       0.02652\n",
            "Generosity                                          0.10686\n",
            "Dystopia Residual                                   2.67782\n",
            "Name: 30, dtype: object\n",
            "Country                                              Uruguay\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            32\n",
            "Happiness Score                                        6.485\n",
            "Standard Error                                       0.04539\n",
            "Economy (GDP per Capita)                             1.06166\n",
            "Family                                                1.2089\n",
            "Health (Life Expectancy)                              0.8116\n",
            "Freedom                                              0.60362\n",
            "Trust (Government Corruption)                        0.24558\n",
            "Generosity                                            0.2324\n",
            "Dystopia Residual                                    2.32142\n",
            "Name: 31, dtype: object\n",
            "Country                                             Colombia\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            33\n",
            "Happiness Score                                        6.477\n",
            "Standard Error                                       0.05051\n",
            "Economy (GDP per Capita)                             0.91861\n",
            "Family                                               1.24018\n",
            "Health (Life Expectancy)                             0.69077\n",
            "Freedom                                              0.53466\n",
            "Trust (Government Corruption)                         0.0512\n",
            "Generosity                                           0.18401\n",
            "Dystopia Residual                                    2.85737\n",
            "Name: 32, dtype: object\n",
            "Country                                   Thailand\n",
            "Region                           Southeastern Asia\n",
            "Happiness Rank                                  34\n",
            "Happiness Score                              6.455\n",
            "Standard Error                             0.03557\n",
            "Economy (GDP per Capita)                    0.9669\n",
            "Family                                     1.26504\n",
            "Health (Life Expectancy)                    0.7385\n",
            "Freedom                                    0.55664\n",
            "Trust (Government Corruption)              0.03187\n",
            "Generosity                                  0.5763\n",
            "Dystopia Residual                          2.31945\n",
            "Name: 33, dtype: object\n",
            "Country                                             Saudi Arabia\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                35\n",
            "Happiness Score                                            6.411\n",
            "Standard Error                                           0.04633\n",
            "Economy (GDP per Capita)                                 1.39541\n",
            "Family                                                   1.08393\n",
            "Health (Life Expectancy)                                 0.72025\n",
            "Freedom                                                  0.31048\n",
            "Trust (Government Corruption)                            0.32524\n",
            "Generosity                                               0.13706\n",
            "Dystopia Residual                                        2.43872\n",
            "Name: 34, dtype: object\n",
            "Country                                   Spain\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               36\n",
            "Happiness Score                           6.329\n",
            "Standard Error                          0.03468\n",
            "Economy (GDP per Capita)                1.23011\n",
            "Family                                  1.31379\n",
            "Health (Life Expectancy)                0.95562\n",
            "Freedom                                 0.45951\n",
            "Trust (Government Corruption)           0.06398\n",
            "Generosity                              0.18227\n",
            "Dystopia Residual                       2.12367\n",
            "Name: 35, dtype: object\n",
            "Country                                   Malta\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               37\n",
            "Happiness Score                           6.302\n",
            "Standard Error                          0.04206\n",
            "Economy (GDP per Capita)                 1.2074\n",
            "Family                                  1.30203\n",
            "Health (Life Expectancy)                0.88721\n",
            "Freedom                                 0.60365\n",
            "Trust (Government Corruption)           0.13586\n",
            "Generosity                              0.51752\n",
            "Dystopia Residual                        1.6488\n",
            "Name: 36, dtype: object\n",
            "Country                                Taiwan\n",
            "Region                           Eastern Asia\n",
            "Happiness Rank                             38\n",
            "Happiness Score                         6.298\n",
            "Standard Error                        0.03868\n",
            "Economy (GDP per Capita)              1.29098\n",
            "Family                                1.07617\n",
            "Health (Life Expectancy)               0.8753\n",
            "Freedom                                0.3974\n",
            "Trust (Government Corruption)         0.08129\n",
            "Generosity                            0.25376\n",
            "Dystopia Residual                     2.32323\n",
            "Name: 37, dtype: object\n",
            "Country                                                   Kuwait\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                39\n",
            "Happiness Score                                            6.295\n",
            "Standard Error                                           0.04456\n",
            "Economy (GDP per Capita)                                 1.55422\n",
            "Family                                                   1.16594\n",
            "Health (Life Expectancy)                                 0.72492\n",
            "Freedom                                                  0.55499\n",
            "Trust (Government Corruption)                            0.25609\n",
            "Generosity                                               0.16228\n",
            "Dystopia Residual                                        1.87634\n",
            "Name: 38, dtype: object\n",
            "Country                                             Suriname\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            40\n",
            "Happiness Score                                        6.269\n",
            "Standard Error                                       0.09811\n",
            "Economy (GDP per Capita)                             0.99534\n",
            "Family                                                 0.972\n",
            "Health (Life Expectancy)                              0.6082\n",
            "Freedom                                              0.59657\n",
            "Trust (Government Corruption)                        0.13633\n",
            "Generosity                                           0.16991\n",
            "Dystopia Residual                                    2.79094\n",
            "Name: 39, dtype: object\n",
            "Country                                  Trinidad and Tobago\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            41\n",
            "Happiness Score                                        6.168\n",
            "Standard Error                                       0.10895\n",
            "Economy (GDP per Capita)                             1.21183\n",
            "Family                                               1.18354\n",
            "Health (Life Expectancy)                             0.61483\n",
            "Freedom                                              0.55884\n",
            "Trust (Government Corruption)                         0.0114\n",
            "Generosity                                           0.31844\n",
            "Dystopia Residual                                    2.26882\n",
            "Name: 40, dtype: object\n",
            "Country                                          El Salvador\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            42\n",
            "Happiness Score                                         6.13\n",
            "Standard Error                                       0.05618\n",
            "Economy (GDP per Capita)                             0.76454\n",
            "Family                                               1.02507\n",
            "Health (Life Expectancy)                             0.67737\n",
            "Freedom                                               0.4035\n",
            "Trust (Government Corruption)                        0.11776\n",
            "Generosity                                           0.10692\n",
            "Dystopia Residual                                      3.035\n",
            "Name: 41, dtype: object\n",
            "Country                                            Guatemala\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            43\n",
            "Happiness Score                                        6.123\n",
            "Standard Error                                       0.05224\n",
            "Economy (GDP per Capita)                             0.74553\n",
            "Family                                               1.04356\n",
            "Health (Life Expectancy)                             0.64425\n",
            "Freedom                                              0.57733\n",
            "Trust (Government Corruption)                        0.09472\n",
            "Generosity                                           0.27489\n",
            "Dystopia Residual                                    2.74255\n",
            "Name: 42, dtype: object\n",
            "Country                                          Uzbekistan\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           44\n",
            "Happiness Score                                       6.003\n",
            "Standard Error                                      0.04361\n",
            "Economy (GDP per Capita)                            0.63244\n",
            "Family                                              1.34043\n",
            "Health (Life Expectancy)                            0.59772\n",
            "Freedom                                             0.65821\n",
            "Trust (Government Corruption)                       0.30826\n",
            "Generosity                                          0.22837\n",
            "Dystopia Residual                                   2.23741\n",
            "Name: 43, dtype: object\n",
            "Country                                            Slovakia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           45\n",
            "Happiness Score                                       5.995\n",
            "Standard Error                                      0.04267\n",
            "Economy (GDP per Capita)                            1.16891\n",
            "Family                                              1.26999\n",
            "Health (Life Expectancy)                            0.78902\n",
            "Freedom                                             0.31751\n",
            "Trust (Government Corruption)                       0.03431\n",
            "Generosity                                          0.16893\n",
            "Dystopia Residual                                   2.24639\n",
            "Name: 44, dtype: object\n",
            "Country                                 Japan\n",
            "Region                           Eastern Asia\n",
            "Happiness Rank                             46\n",
            "Happiness Score                         5.987\n",
            "Standard Error                        0.03581\n",
            "Economy (GDP per Capita)              1.27074\n",
            "Family                                1.25712\n",
            "Health (Life Expectancy)              0.99111\n",
            "Freedom                               0.49615\n",
            "Trust (Government Corruption)          0.1806\n",
            "Generosity                            0.10705\n",
            "Dystopia Residual                     1.68435\n",
            "Name: 45, dtype: object\n",
            "Country                           South Korea\n",
            "Region                           Eastern Asia\n",
            "Happiness Rank                             47\n",
            "Happiness Score                         5.984\n",
            "Standard Error                        0.04098\n",
            "Economy (GDP per Capita)              1.24461\n",
            "Family                                0.95774\n",
            "Health (Life Expectancy)              0.96538\n",
            "Freedom                               0.33208\n",
            "Trust (Government Corruption)         0.07857\n",
            "Generosity                            0.18557\n",
            "Dystopia Residual                     2.21978\n",
            "Name: 46, dtype: object\n",
            "Country                                              Ecuador\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            48\n",
            "Happiness Score                                        5.975\n",
            "Standard Error                                       0.04528\n",
            "Economy (GDP per Capita)                             0.86402\n",
            "Family                                               0.99903\n",
            "Health (Life Expectancy)                             0.79075\n",
            "Freedom                                              0.48574\n",
            "Trust (Government Corruption)                         0.1809\n",
            "Generosity                                           0.11541\n",
            "Dystopia Residual                                    2.53942\n",
            "Name: 47, dtype: object\n",
            "Country                                                  Bahrain\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                49\n",
            "Happiness Score                                             5.96\n",
            "Standard Error                                           0.05412\n",
            "Economy (GDP per Capita)                                 1.32376\n",
            "Family                                                   1.21624\n",
            "Health (Life Expectancy)                                 0.74716\n",
            "Freedom                                                  0.45492\n",
            "Trust (Government Corruption)                              0.306\n",
            "Generosity                                               0.17362\n",
            "Dystopia Residual                                        1.73797\n",
            "Name: 48, dtype: object\n",
            "Country                                   Italy\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               50\n",
            "Happiness Score                           5.948\n",
            "Standard Error                          0.03914\n",
            "Economy (GDP per Capita)                1.25114\n",
            "Family                                  1.19777\n",
            "Health (Life Expectancy)                0.95446\n",
            "Freedom                                 0.26236\n",
            "Trust (Government Corruption)           0.02901\n",
            "Generosity                              0.22823\n",
            "Dystopia Residual                       2.02518\n",
            "Name: 49, dtype: object\n",
            "Country                                              Bolivia\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            51\n",
            "Happiness Score                                         5.89\n",
            "Standard Error                                       0.05642\n",
            "Economy (GDP per Capita)                             0.68133\n",
            "Family                                               0.97841\n",
            "Health (Life Expectancy)                              0.5392\n",
            "Freedom                                              0.57414\n",
            "Trust (Government Corruption)                          0.088\n",
            "Generosity                                           0.20536\n",
            "Dystopia Residual                                    2.82334\n",
            "Name: 50, dtype: object\n",
            "Country                                             Moldova\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           52\n",
            "Happiness Score                                       5.889\n",
            "Standard Error                                      0.03799\n",
            "Economy (GDP per Capita)                            0.59448\n",
            "Family                                              1.01528\n",
            "Health (Life Expectancy)                            0.61826\n",
            "Freedom                                             0.32818\n",
            "Trust (Government Corruption)                       0.01615\n",
            "Generosity                                          0.20951\n",
            "Dystopia Residual                                   3.10712\n",
            "Name: 51, dtype: object\n",
            "Country                                             Paraguay\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            53\n",
            "Happiness Score                                        5.878\n",
            "Standard Error                                       0.04563\n",
            "Economy (GDP per Capita)                             0.75985\n",
            "Family                                               1.30477\n",
            "Health (Life Expectancy)                             0.66098\n",
            "Freedom                                              0.53899\n",
            "Trust (Government Corruption)                        0.08242\n",
            "Generosity                                            0.3424\n",
            "Dystopia Residual                                    2.18896\n",
            "Name: 52, dtype: object\n",
            "Country                                          Kazakhstan\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           54\n",
            "Happiness Score                                       5.855\n",
            "Standard Error                                      0.04114\n",
            "Economy (GDP per Capita)                            1.12254\n",
            "Family                                              1.12241\n",
            "Health (Life Expectancy)                            0.64368\n",
            "Freedom                                             0.51649\n",
            "Trust (Government Corruption)                       0.08454\n",
            "Generosity                                          0.11827\n",
            "Dystopia Residual                                   2.24729\n",
            "Name: 53, dtype: object\n",
            "Country                                            Slovenia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           55\n",
            "Happiness Score                                       5.848\n",
            "Standard Error                                      0.04251\n",
            "Economy (GDP per Capita)                            1.18498\n",
            "Family                                              1.27385\n",
            "Health (Life Expectancy)                            0.87337\n",
            "Freedom                                             0.60855\n",
            "Trust (Government Corruption)                       0.03787\n",
            "Generosity                                          0.25328\n",
            "Dystopia Residual                                   1.61583\n",
            "Name: 54, dtype: object\n",
            "Country                                           Lithuania\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           56\n",
            "Happiness Score                                       5.833\n",
            "Standard Error                                      0.03843\n",
            "Economy (GDP per Capita)                            1.14723\n",
            "Family                                              1.25745\n",
            "Health (Life Expectancy)                            0.73128\n",
            "Freedom                                             0.21342\n",
            "Trust (Government Corruption)                       0.01031\n",
            "Generosity                                          0.02641\n",
            "Dystopia Residual                                   2.44649\n",
            "Name: 55, dtype: object\n",
            "Country                                            Nicaragua\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            57\n",
            "Happiness Score                                        5.828\n",
            "Standard Error                                       0.05371\n",
            "Economy (GDP per Capita)                             0.59325\n",
            "Family                                               1.14184\n",
            "Health (Life Expectancy)                             0.74314\n",
            "Freedom                                              0.55475\n",
            "Trust (Government Corruption)                        0.19317\n",
            "Generosity                                           0.27815\n",
            "Dystopia Residual                                    2.32407\n",
            "Name: 56, dtype: object\n",
            "Country                                                 Peru\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            58\n",
            "Happiness Score                                        5.824\n",
            "Standard Error                                       0.04615\n",
            "Economy (GDP per Capita)                             0.90019\n",
            "Family                                               0.97459\n",
            "Health (Life Expectancy)                             0.73017\n",
            "Freedom                                              0.41496\n",
            "Trust (Government Corruption)                        0.05989\n",
            "Generosity                                           0.14982\n",
            "Dystopia Residual                                     2.5945\n",
            "Name: 57, dtype: object\n",
            "Country                                             Belarus\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           59\n",
            "Happiness Score                                       5.813\n",
            "Standard Error                                      0.03938\n",
            "Economy (GDP per Capita)                            1.03192\n",
            "Family                                              1.23289\n",
            "Health (Life Expectancy)                            0.73608\n",
            "Freedom                                             0.37938\n",
            "Trust (Government Corruption)                        0.1909\n",
            "Generosity                                          0.11046\n",
            "Dystopia Residual                                    2.1309\n",
            "Name: 58, dtype: object\n",
            "Country                                              Poland\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           60\n",
            "Happiness Score                                       5.791\n",
            "Standard Error                                      0.04263\n",
            "Economy (GDP per Capita)                            1.12555\n",
            "Family                                              1.27948\n",
            "Health (Life Expectancy)                            0.77903\n",
            "Freedom                                             0.53122\n",
            "Trust (Government Corruption)                       0.04212\n",
            "Generosity                                          0.16759\n",
            "Dystopia Residual                                   1.86565\n",
            "Name: 59, dtype: object\n",
            "Country                                   Malaysia\n",
            "Region                           Southeastern Asia\n",
            "Happiness Rank                                  61\n",
            "Happiness Score                               5.77\n",
            "Standard Error                              0.0433\n",
            "Economy (GDP per Capita)                   1.12486\n",
            "Family                                     1.07023\n",
            "Health (Life Expectancy)                   0.72394\n",
            "Freedom                                    0.53024\n",
            "Trust (Government Corruption)              0.10501\n",
            "Generosity                                 0.33075\n",
            "Dystopia Residual                          1.88541\n",
            "Name: 60, dtype: object\n",
            "Country                                             Croatia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           62\n",
            "Happiness Score                                       5.759\n",
            "Standard Error                                      0.04394\n",
            "Economy (GDP per Capita)                            1.08254\n",
            "Family                                              0.79624\n",
            "Health (Life Expectancy)                            0.78805\n",
            "Freedom                                             0.25883\n",
            "Trust (Government Corruption)                        0.0243\n",
            "Generosity                                          0.05444\n",
            "Dystopia Residual                                   2.75414\n",
            "Name: 61, dtype: object\n",
            "Country                                                    Libya\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                63\n",
            "Happiness Score                                            5.754\n",
            "Standard Error                                           0.07832\n",
            "Economy (GDP per Capita)                                 1.13145\n",
            "Family                                                   1.11862\n",
            "Health (Life Expectancy)                                  0.7038\n",
            "Freedom                                                  0.41668\n",
            "Trust (Government Corruption)                            0.11023\n",
            "Generosity                                               0.18295\n",
            "Dystopia Residual                                        2.09066\n",
            "Name: 62, dtype: object\n",
            "Country                                              Russia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           64\n",
            "Happiness Score                                       5.716\n",
            "Standard Error                                      0.03135\n",
            "Economy (GDP per Capita)                            1.13764\n",
            "Family                                              1.23617\n",
            "Health (Life Expectancy)                            0.66926\n",
            "Freedom                                             0.36679\n",
            "Trust (Government Corruption)                       0.03005\n",
            "Generosity                                          0.00199\n",
            "Dystopia Residual                                   2.27394\n",
            "Name: 63, dtype: object\n",
            "Country                                              Jamaica\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            65\n",
            "Happiness Score                                        5.709\n",
            "Standard Error                                       0.13693\n",
            "Economy (GDP per Capita)                             0.81038\n",
            "Family                                               1.15102\n",
            "Health (Life Expectancy)                             0.68741\n",
            "Freedom                                              0.50442\n",
            "Trust (Government Corruption)                        0.02299\n",
            "Generosity                                            0.2123\n",
            "Dystopia Residual                                    2.32038\n",
            "Name: 64, dtype: object\n",
            "Country                            North Cyprus\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               66\n",
            "Happiness Score                           5.695\n",
            "Standard Error                          0.05635\n",
            "Economy (GDP per Capita)                1.20806\n",
            "Family                                  1.07008\n",
            "Health (Life Expectancy)                0.92356\n",
            "Freedom                                 0.49027\n",
            "Trust (Government Corruption)            0.1428\n",
            "Generosity                              0.26169\n",
            "Dystopia Residual                       1.59888\n",
            "Name: 65, dtype: object\n",
            "Country                                  Cyprus\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               67\n",
            "Happiness Score                           5.689\n",
            "Standard Error                           0.0558\n",
            "Economy (GDP per Capita)                1.20813\n",
            "Family                                  0.89318\n",
            "Health (Life Expectancy)                0.92356\n",
            "Freedom                                 0.40672\n",
            "Trust (Government Corruption)           0.06146\n",
            "Generosity                              0.30638\n",
            "Dystopia Residual                       1.88931\n",
            "Name: 66, dtype: object\n",
            "Country                                                  Algeria\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                68\n",
            "Happiness Score                                            5.605\n",
            "Standard Error                                           0.05099\n",
            "Economy (GDP per Capita)                                 0.93929\n",
            "Family                                                   1.07772\n",
            "Health (Life Expectancy)                                 0.61766\n",
            "Freedom                                                  0.28579\n",
            "Trust (Government Corruption)                            0.17383\n",
            "Generosity                                               0.07822\n",
            "Dystopia Residual                                        2.43209\n",
            "Name: 67, dtype: object\n",
            "Country                                              Kosovo\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           69\n",
            "Happiness Score                                       5.589\n",
            "Standard Error                                      0.05018\n",
            "Economy (GDP per Capita)                            0.80148\n",
            "Family                                              0.81198\n",
            "Health (Life Expectancy)                            0.63132\n",
            "Freedom                                             0.24749\n",
            "Trust (Government Corruption)                       0.04741\n",
            "Generosity                                           0.2831\n",
            "Dystopia Residual                                   2.76579\n",
            "Name: 68, dtype: object\n",
            "Country                                        Turkmenistan\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           70\n",
            "Happiness Score                                       5.548\n",
            "Standard Error                                      0.04175\n",
            "Economy (GDP per Capita)                            0.95847\n",
            "Family                                              1.22668\n",
            "Health (Life Expectancy)                            0.53886\n",
            "Freedom                                              0.4761\n",
            "Trust (Government Corruption)                       0.30844\n",
            "Generosity                                          0.16979\n",
            "Dystopia Residual                                   1.86984\n",
            "Name: 69, dtype: object\n",
            "Country                                   Mauritius\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                   71\n",
            "Happiness Score                               5.477\n",
            "Standard Error                              0.07197\n",
            "Economy (GDP per Capita)                    1.00761\n",
            "Family                                      0.98521\n",
            "Health (Life Expectancy)                     0.7095\n",
            "Freedom                                     0.56066\n",
            "Trust (Government Corruption)               0.07521\n",
            "Generosity                                  0.37744\n",
            "Dystopia Residual                           1.76145\n",
            "Name: 70, dtype: object\n",
            "Country                             Hong Kong\n",
            "Region                           Eastern Asia\n",
            "Happiness Rank                             72\n",
            "Happiness Score                         5.474\n",
            "Standard Error                        0.05051\n",
            "Economy (GDP per Capita)              1.38604\n",
            "Family                                1.05818\n",
            "Health (Life Expectancy)              1.01328\n",
            "Freedom                               0.59608\n",
            "Trust (Government Corruption)         0.37124\n",
            "Generosity                            0.39478\n",
            "Dystopia Residual                     0.65429\n",
            "Name: 71, dtype: object\n",
            "Country                                             Estonia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           73\n",
            "Happiness Score                                       5.429\n",
            "Standard Error                                      0.04013\n",
            "Economy (GDP per Capita)                            1.15174\n",
            "Family                                              1.22791\n",
            "Health (Life Expectancy)                            0.77361\n",
            "Freedom                                             0.44888\n",
            "Trust (Government Corruption)                       0.15184\n",
            "Generosity                                           0.0868\n",
            "Dystopia Residual                                   1.58782\n",
            "Name: 72, dtype: object\n",
            "Country                                  Indonesia\n",
            "Region                           Southeastern Asia\n",
            "Happiness Rank                                  74\n",
            "Happiness Score                              5.399\n",
            "Standard Error                             0.02596\n",
            "Economy (GDP per Capita)                   0.82827\n",
            "Family                                     1.08708\n",
            "Health (Life Expectancy)                   0.63793\n",
            "Freedom                                    0.46611\n",
            "Trust (Government Corruption)                  0.0\n",
            "Generosity                                 0.51535\n",
            "Dystopia Residual                          1.86399\n",
            "Name: 73, dtype: object\n",
            "Country                                    Vietnam\n",
            "Region                           Southeastern Asia\n",
            "Happiness Rank                                  75\n",
            "Happiness Score                               5.36\n",
            "Standard Error                             0.03107\n",
            "Economy (GDP per Capita)                   0.63216\n",
            "Family                                     0.91226\n",
            "Health (Life Expectancy)                   0.74676\n",
            "Freedom                                    0.59444\n",
            "Trust (Government Corruption)              0.10441\n",
            "Generosity                                  0.1686\n",
            "Dystopia Residual                          2.20173\n",
            "Name: 74, dtype: object\n",
            "Country                                                   Turkey\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                76\n",
            "Happiness Score                                            5.332\n",
            "Standard Error                                           0.03864\n",
            "Economy (GDP per Capita)                                 1.06098\n",
            "Family                                                   0.94632\n",
            "Health (Life Expectancy)                                 0.73172\n",
            "Freedom                                                  0.22815\n",
            "Trust (Government Corruption)                            0.15746\n",
            "Generosity                                               0.12253\n",
            "Dystopia Residual                                        2.08528\n",
            "Name: 75, dtype: object\n",
            "Country                                          Kyrgyzstan\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           77\n",
            "Happiness Score                                       5.286\n",
            "Standard Error                                      0.03823\n",
            "Economy (GDP per Capita)                            0.47428\n",
            "Family                                              1.15115\n",
            "Health (Life Expectancy)                            0.65088\n",
            "Freedom                                             0.43477\n",
            "Trust (Government Corruption)                       0.04232\n",
            "Generosity                                           0.3003\n",
            "Dystopia Residual                                    2.2327\n",
            "Name: 76, dtype: object\n",
            "Country                                     Nigeria\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                   78\n",
            "Happiness Score                               5.268\n",
            "Standard Error                              0.04192\n",
            "Economy (GDP per Capita)                    0.65435\n",
            "Family                                      0.90432\n",
            "Health (Life Expectancy)                    0.16007\n",
            "Freedom                                     0.34334\n",
            "Trust (Government Corruption)                0.0403\n",
            "Generosity                                  0.27233\n",
            "Dystopia Residual                           2.89319\n",
            "Name: 77, dtype: object\n",
            "Country                                 Bhutan\n",
            "Region                           Southern Asia\n",
            "Happiness Rank                              79\n",
            "Happiness Score                          5.253\n",
            "Standard Error                         0.03225\n",
            "Economy (GDP per Capita)               0.77042\n",
            "Family                                 1.10395\n",
            "Health (Life Expectancy)               0.57407\n",
            "Freedom                                0.53206\n",
            "Trust (Government Corruption)          0.15445\n",
            "Generosity                             0.47998\n",
            "Dystopia Residual                      1.63794\n",
            "Name: 78, dtype: object\n",
            "Country                                          Azerbaijan\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           80\n",
            "Happiness Score                                       5.212\n",
            "Standard Error                                      0.03363\n",
            "Economy (GDP per Capita)                            1.02389\n",
            "Family                                              0.93793\n",
            "Health (Life Expectancy)                            0.64045\n",
            "Freedom                                              0.3703\n",
            "Trust (Government Corruption)                       0.16065\n",
            "Generosity                                          0.07799\n",
            "Dystopia Residual                                   2.00073\n",
            "Name: 79, dtype: object\n",
            "Country                               Pakistan\n",
            "Region                           Southern Asia\n",
            "Happiness Rank                              81\n",
            "Happiness Score                          5.194\n",
            "Standard Error                         0.03726\n",
            "Economy (GDP per Capita)               0.59543\n",
            "Family                                 0.41411\n",
            "Health (Life Expectancy)               0.51466\n",
            "Freedom                                0.12102\n",
            "Trust (Government Corruption)          0.10464\n",
            "Generosity                             0.33671\n",
            "Dystopia Residual                      3.10709\n",
            "Name: 80, dtype: object\n",
            "Country                                                   Jordan\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                82\n",
            "Happiness Score                                            5.192\n",
            "Standard Error                                           0.04524\n",
            "Economy (GDP per Capita)                                 0.90198\n",
            "Family                                                   1.05392\n",
            "Health (Life Expectancy)                                 0.69639\n",
            "Freedom                                                  0.40661\n",
            "Trust (Government Corruption)                            0.14293\n",
            "Generosity                                               0.11053\n",
            "Dystopia Residual                                        1.87996\n",
            "Name: 81, dtype: object\n",
            "Country                                          Montenegro\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           82\n",
            "Happiness Score                                       5.192\n",
            "Standard Error                                      0.05235\n",
            "Economy (GDP per Capita)                            0.97438\n",
            "Family                                              0.90557\n",
            "Health (Life Expectancy)                            0.72521\n",
            "Freedom                                              0.1826\n",
            "Trust (Government Corruption)                       0.14296\n",
            "Generosity                                           0.1614\n",
            "Dystopia Residual                                   2.10017\n",
            "Name: 82, dtype: object\n",
            "Country                                 China\n",
            "Region                           Eastern Asia\n",
            "Happiness Rank                             84\n",
            "Happiness Score                          5.14\n",
            "Standard Error                        0.02424\n",
            "Economy (GDP per Capita)              0.89012\n",
            "Family                                0.94675\n",
            "Health (Life Expectancy)              0.81658\n",
            "Freedom                               0.51697\n",
            "Trust (Government Corruption)         0.02781\n",
            "Generosity                            0.08185\n",
            "Dystopia Residual                      1.8604\n",
            "Name: 83, dtype: object\n",
            "Country                                      Zambia\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                   85\n",
            "Happiness Score                               5.129\n",
            "Standard Error                              0.06988\n",
            "Economy (GDP per Capita)                    0.47038\n",
            "Family                                      0.91612\n",
            "Health (Life Expectancy)                    0.29924\n",
            "Freedom                                     0.48827\n",
            "Trust (Government Corruption)               0.12468\n",
            "Generosity                                  0.19591\n",
            "Dystopia Residual                            2.6343\n",
            "Name: 84, dtype: object\n",
            "Country                                             Romania\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           86\n",
            "Happiness Score                                       5.124\n",
            "Standard Error                                      0.06607\n",
            "Economy (GDP per Capita)                            1.04345\n",
            "Family                                              0.88588\n",
            "Health (Life Expectancy)                             0.7689\n",
            "Freedom                                             0.35068\n",
            "Trust (Government Corruption)                       0.00649\n",
            "Generosity                                          0.13748\n",
            "Dystopia Residual                                   1.93129\n",
            "Name: 85, dtype: object\n",
            "Country                                              Serbia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           87\n",
            "Happiness Score                                       5.123\n",
            "Standard Error                                      0.04864\n",
            "Economy (GDP per Capita)                            0.92053\n",
            "Family                                              1.00964\n",
            "Health (Life Expectancy)                            0.74836\n",
            "Freedom                                             0.20107\n",
            "Trust (Government Corruption)                       0.02617\n",
            "Generosity                                          0.19231\n",
            "Dystopia Residual                                     2.025\n",
            "Name: 86, dtype: object\n",
            "Country                                Portugal\n",
            "Region                           Western Europe\n",
            "Happiness Rank                               88\n",
            "Happiness Score                           5.102\n",
            "Standard Error                          0.04802\n",
            "Economy (GDP per Capita)                1.15991\n",
            "Family                                  1.13935\n",
            "Health (Life Expectancy)                0.87519\n",
            "Freedom                                 0.51469\n",
            "Trust (Government Corruption)           0.01078\n",
            "Generosity                              0.13719\n",
            "Dystopia Residual                       1.26462\n",
            "Name: 87, dtype: object\n",
            "Country                                              Latvia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           89\n",
            "Happiness Score                                       5.098\n",
            "Standard Error                                       0.0464\n",
            "Economy (GDP per Capita)                            1.11312\n",
            "Family                                              1.09562\n",
            "Health (Life Expectancy)                            0.72437\n",
            "Freedom                                             0.29671\n",
            "Trust (Government Corruption)                       0.06332\n",
            "Generosity                                          0.18226\n",
            "Dystopia Residual                                   1.62215\n",
            "Name: 88, dtype: object\n",
            "Country                                Philippines\n",
            "Region                           Southeastern Asia\n",
            "Happiness Rank                                  90\n",
            "Happiness Score                              5.073\n",
            "Standard Error                             0.04934\n",
            "Economy (GDP per Capita)                   0.70532\n",
            "Family                                     1.03516\n",
            "Health (Life Expectancy)                   0.58114\n",
            "Freedom                                    0.62545\n",
            "Trust (Government Corruption)              0.12279\n",
            "Generosity                                 0.24991\n",
            "Dystopia Residual                           1.7536\n",
            "Name: 89, dtype: object\n",
            "Country                           Somaliland region\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                   91\n",
            "Happiness Score                               5.057\n",
            "Standard Error                              0.06161\n",
            "Economy (GDP per Capita)                    0.18847\n",
            "Family                                      0.95152\n",
            "Health (Life Expectancy)                    0.43873\n",
            "Freedom                                     0.46582\n",
            "Trust (Government Corruption)               0.39928\n",
            "Generosity                                  0.50318\n",
            "Dystopia Residual                           2.11032\n",
            "Name: 90, dtype: object\n",
            "Country                                                  Morocco\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                                92\n",
            "Happiness Score                                            5.013\n",
            "Standard Error                                            0.0342\n",
            "Economy (GDP per Capita)                                 0.73479\n",
            "Family                                                   0.64095\n",
            "Health (Life Expectancy)                                 0.60954\n",
            "Freedom                                                  0.41691\n",
            "Trust (Government Corruption)                            0.08546\n",
            "Generosity                                               0.07172\n",
            "Dystopia Residual                                        2.45373\n",
            "Name: 91, dtype: object\n",
            "Country                                           Macedonia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           93\n",
            "Happiness Score                                       5.007\n",
            "Standard Error                                      0.05376\n",
            "Economy (GDP per Capita)                            0.91851\n",
            "Family                                              1.00232\n",
            "Health (Life Expectancy)                            0.73545\n",
            "Freedom                                             0.33457\n",
            "Trust (Government Corruption)                       0.05327\n",
            "Generosity                                          0.22359\n",
            "Dystopia Residual                                   1.73933\n",
            "Name: 92, dtype: object\n",
            "Country                                  Mozambique\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                   94\n",
            "Happiness Score                               4.971\n",
            "Standard Error                              0.07896\n",
            "Economy (GDP per Capita)                    0.08308\n",
            "Family                                      1.02626\n",
            "Health (Life Expectancy)                    0.09131\n",
            "Freedom                                     0.34037\n",
            "Trust (Government Corruption)               0.15603\n",
            "Generosity                                  0.22269\n",
            "Dystopia Residual                           3.05137\n",
            "Name: 93, dtype: object\n",
            "Country                                             Albania\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           95\n",
            "Happiness Score                                       4.959\n",
            "Standard Error                                      0.05013\n",
            "Economy (GDP per Capita)                            0.87867\n",
            "Family                                              0.80434\n",
            "Health (Life Expectancy)                            0.81325\n",
            "Freedom                                             0.35733\n",
            "Trust (Government Corruption)                       0.06413\n",
            "Generosity                                          0.14272\n",
            "Dystopia Residual                                   1.89894\n",
            "Name: 94, dtype: object\n",
            "Country                              Bosnia and Herzegovina\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                           96\n",
            "Happiness Score                                       4.949\n",
            "Standard Error                                      0.06913\n",
            "Economy (GDP per Capita)                            0.83223\n",
            "Family                                              0.91916\n",
            "Health (Life Expectancy)                            0.79081\n",
            "Freedom                                             0.09245\n",
            "Trust (Government Corruption)                       0.00227\n",
            "Generosity                                          0.24808\n",
            "Dystopia Residual                                   2.06367\n",
            "Name: 95, dtype: object\n",
            "Country                                     Lesotho\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                   97\n",
            "Happiness Score                               4.898\n",
            "Standard Error                              0.09438\n",
            "Economy (GDP per Capita)                    0.37545\n",
            "Family                                      1.04103\n",
            "Health (Life Expectancy)                    0.07612\n",
            "Freedom                                     0.31767\n",
            "Trust (Government Corruption)               0.12504\n",
            "Generosity                                  0.16388\n",
            "Dystopia Residual                           2.79832\n",
            "Name: 96, dtype: object\n",
            "Country                                   Dominican Republic\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                            98\n",
            "Happiness Score                                        4.885\n",
            "Standard Error                                       0.07446\n",
            "Economy (GDP per Capita)                             0.89537\n",
            "Family                                               1.17202\n",
            "Health (Life Expectancy)                             0.66825\n",
            "Freedom                                              0.57672\n",
            "Trust (Government Corruption)                        0.14234\n",
            "Generosity                                           0.21684\n",
            "Dystopia Residual                                    1.21305\n",
            "Name: 97, dtype: object\n",
            "Country                                       Laos\n",
            "Region                           Southeastern Asia\n",
            "Happiness Rank                                  99\n",
            "Happiness Score                              4.876\n",
            "Standard Error                             0.06698\n",
            "Economy (GDP per Capita)                   0.59066\n",
            "Family                                     0.73803\n",
            "Health (Life Expectancy)                   0.54909\n",
            "Freedom                                    0.59591\n",
            "Trust (Government Corruption)              0.24249\n",
            "Generosity                                 0.42192\n",
            "Dystopia Residual                          1.73799\n",
            "Name: 98, dtype: object\n",
            "Country                              Mongolia\n",
            "Region                           Eastern Asia\n",
            "Happiness Rank                            100\n",
            "Happiness Score                         4.874\n",
            "Standard Error                        0.03313\n",
            "Economy (GDP per Capita)              0.82819\n",
            "Family                                 1.3006\n",
            "Health (Life Expectancy)              0.60268\n",
            "Freedom                               0.43626\n",
            "Trust (Government Corruption)         0.02666\n",
            "Generosity                             0.3323\n",
            "Dystopia Residual                     1.34759\n",
            "Name: 99, dtype: object\n",
            "Country                                   Swaziland\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  101\n",
            "Happiness Score                               4.867\n",
            "Standard Error                              0.08742\n",
            "Economy (GDP per Capita)                    0.71206\n",
            "Family                                      1.07284\n",
            "Health (Life Expectancy)                    0.07566\n",
            "Freedom                                     0.30658\n",
            "Trust (Government Corruption)                0.0306\n",
            "Generosity                                  0.18259\n",
            "Dystopia Residual                           2.48676\n",
            "Name: 100, dtype: object\n",
            "Country                                  Greece\n",
            "Region                           Western Europe\n",
            "Happiness Rank                              102\n",
            "Happiness Score                           4.857\n",
            "Standard Error                          0.05062\n",
            "Economy (GDP per Capita)                1.15406\n",
            "Family                                  0.92933\n",
            "Health (Life Expectancy)                0.88213\n",
            "Freedom                                 0.07699\n",
            "Trust (Government Corruption)           0.01397\n",
            "Generosity                                  0.0\n",
            "Dystopia Residual                       1.80101\n",
            "Name: 101, dtype: object\n",
            "Country                                                  Lebanon\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                               103\n",
            "Happiness Score                                            4.839\n",
            "Standard Error                                           0.04337\n",
            "Economy (GDP per Capita)                                 1.02564\n",
            "Family                                                   0.80001\n",
            "Health (Life Expectancy)                                 0.83947\n",
            "Freedom                                                  0.33916\n",
            "Trust (Government Corruption)                            0.04582\n",
            "Generosity                                               0.21854\n",
            "Dystopia Residual                                        1.57059\n",
            "Name: 102, dtype: object\n",
            "Country                                             Hungary\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                          104\n",
            "Happiness Score                                         4.8\n",
            "Standard Error                                      0.06107\n",
            "Economy (GDP per Capita)                            1.12094\n",
            "Family                                              1.20215\n",
            "Health (Life Expectancy)                            0.75905\n",
            "Freedom                                             0.32112\n",
            "Trust (Government Corruption)                       0.02758\n",
            "Generosity                                            0.128\n",
            "Dystopia Residual                                   1.24074\n",
            "Name: 103, dtype: object\n",
            "Country                                             Honduras\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                           105\n",
            "Happiness Score                                        4.788\n",
            "Standard Error                                       0.05648\n",
            "Economy (GDP per Capita)                             0.59532\n",
            "Family                                               0.95348\n",
            "Health (Life Expectancy)                              0.6951\n",
            "Freedom                                              0.40148\n",
            "Trust (Government Corruption)                        0.06825\n",
            "Generosity                                           0.23027\n",
            "Dystopia Residual                                    1.84408\n",
            "Name: 104, dtype: object\n",
            "Country                                          Tajikistan\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                          106\n",
            "Happiness Score                                       4.786\n",
            "Standard Error                                      0.03198\n",
            "Economy (GDP per Capita)                            0.39047\n",
            "Family                                              0.85563\n",
            "Health (Life Expectancy)                            0.57379\n",
            "Freedom                                             0.47216\n",
            "Trust (Government Corruption)                       0.15072\n",
            "Generosity                                          0.22974\n",
            "Dystopia Residual                                   2.11399\n",
            "Name: 105, dtype: object\n",
            "Country                                                  Tunisia\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                               107\n",
            "Happiness Score                                            4.739\n",
            "Standard Error                                           0.03589\n",
            "Economy (GDP per Capita)                                 0.88113\n",
            "Family                                                   0.60429\n",
            "Health (Life Expectancy)                                 0.73793\n",
            "Freedom                                                  0.26268\n",
            "Trust (Government Corruption)                            0.06358\n",
            "Generosity                                               0.06431\n",
            "Dystopia Residual                                        2.12466\n",
            "Name: 106, dtype: object\n",
            "Country                                  Palestinian Territories\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                               108\n",
            "Happiness Score                                            4.715\n",
            "Standard Error                                           0.04394\n",
            "Economy (GDP per Capita)                                 0.59867\n",
            "Family                                                   0.92558\n",
            "Health (Life Expectancy)                                 0.66015\n",
            "Freedom                                                  0.24499\n",
            "Trust (Government Corruption)                            0.12905\n",
            "Generosity                                               0.11251\n",
            "Dystopia Residual                                        2.04384\n",
            "Name: 107, dtype: object\n",
            "Country                             Bangladesh\n",
            "Region                           Southern Asia\n",
            "Happiness Rank                             109\n",
            "Happiness Score                          4.694\n",
            "Standard Error                         0.03077\n",
            "Economy (GDP per Capita)               0.39753\n",
            "Family                                 0.43106\n",
            "Health (Life Expectancy)               0.60164\n",
            "Freedom                                 0.4082\n",
            "Trust (Government Corruption)          0.12569\n",
            "Generosity                             0.21222\n",
            "Dystopia Residual                      2.51767\n",
            "Name: 108, dtype: object\n",
            "Country                                                     Iran\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                               110\n",
            "Happiness Score                                            4.686\n",
            "Standard Error                                           0.04449\n",
            "Economy (GDP per Capita)                                  1.0088\n",
            "Family                                                   0.54447\n",
            "Health (Life Expectancy)                                 0.69805\n",
            "Freedom                                                  0.30033\n",
            "Trust (Government Corruption)                            0.05863\n",
            "Generosity                                               0.38086\n",
            "Dystopia Residual                                         1.6944\n",
            "Name: 109, dtype: object\n",
            "Country                                             Ukraine\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                          111\n",
            "Happiness Score                                       4.681\n",
            "Standard Error                                      0.04412\n",
            "Economy (GDP per Capita)                            0.79907\n",
            "Family                                              1.20278\n",
            "Health (Life Expectancy)                             0.6739\n",
            "Freedom                                             0.25123\n",
            "Trust (Government Corruption)                       0.02961\n",
            "Generosity                                          0.15275\n",
            "Dystopia Residual                                    1.5714\n",
            "Name: 110, dtype: object\n",
            "Country                                                     Iraq\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                               112\n",
            "Happiness Score                                            4.677\n",
            "Standard Error                                           0.05232\n",
            "Economy (GDP per Capita)                                 0.98549\n",
            "Family                                                   0.81889\n",
            "Health (Life Expectancy)                                 0.60237\n",
            "Freedom                                                      0.0\n",
            "Trust (Government Corruption)                            0.13788\n",
            "Generosity                                               0.17922\n",
            "Dystopia Residual                                        1.95335\n",
            "Name: 111, dtype: object\n",
            "Country                                South Africa\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  113\n",
            "Happiness Score                               4.642\n",
            "Standard Error                              0.04585\n",
            "Economy (GDP per Capita)                    0.92049\n",
            "Family                                      1.18468\n",
            "Health (Life Expectancy)                    0.27688\n",
            "Freedom                                     0.33207\n",
            "Trust (Government Corruption)               0.08884\n",
            "Generosity                                  0.11973\n",
            "Dystopia Residual                           1.71956\n",
            "Name: 112, dtype: object\n",
            "Country                                       Ghana\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  114\n",
            "Happiness Score                               4.633\n",
            "Standard Error                              0.04742\n",
            "Economy (GDP per Capita)                    0.54558\n",
            "Family                                      0.67954\n",
            "Health (Life Expectancy)                    0.40132\n",
            "Freedom                                     0.42342\n",
            "Trust (Government Corruption)               0.04355\n",
            "Generosity                                  0.23087\n",
            "Dystopia Residual                           2.30919\n",
            "Name: 113, dtype: object\n",
            "Country                                    Zimbabwe\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  115\n",
            "Happiness Score                                4.61\n",
            "Standard Error                               0.0429\n",
            "Economy (GDP per Capita)                      0.271\n",
            "Family                                      1.03276\n",
            "Health (Life Expectancy)                    0.33475\n",
            "Freedom                                     0.25861\n",
            "Trust (Government Corruption)               0.08079\n",
            "Generosity                                  0.18987\n",
            "Dystopia Residual                           2.44191\n",
            "Name: 114, dtype: object\n",
            "Country                                     Liberia\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  116\n",
            "Happiness Score                               4.571\n",
            "Standard Error                              0.11068\n",
            "Economy (GDP per Capita)                     0.0712\n",
            "Family                                      0.78968\n",
            "Health (Life Expectancy)                    0.34201\n",
            "Freedom                                     0.28531\n",
            "Trust (Government Corruption)               0.06232\n",
            "Generosity                                  0.24362\n",
            "Dystopia Residual                           2.77729\n",
            "Name: 115, dtype: object\n",
            "Country                                  India\n",
            "Region                           Southern Asia\n",
            "Happiness Rank                             117\n",
            "Happiness Score                          4.565\n",
            "Standard Error                         0.02043\n",
            "Economy (GDP per Capita)               0.64499\n",
            "Family                                 0.38174\n",
            "Health (Life Expectancy)               0.51529\n",
            "Freedom                                0.39786\n",
            "Trust (Government Corruption)          0.08492\n",
            "Generosity                             0.26475\n",
            "Dystopia Residual                      2.27513\n",
            "Name: 116, dtype: object\n",
            "Country                                       Sudan\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  118\n",
            "Happiness Score                                4.55\n",
            "Standard Error                               0.0674\n",
            "Economy (GDP per Capita)                    0.52107\n",
            "Family                                      1.01404\n",
            "Health (Life Expectancy)                    0.36878\n",
            "Freedom                                     0.10081\n",
            "Trust (Government Corruption)                0.1466\n",
            "Generosity                                  0.19062\n",
            "Dystopia Residual                           2.20857\n",
            "Name: 117, dtype: object\n",
            "Country                                                Haiti\n",
            "Region                           Latin America and Caribbean\n",
            "Happiness Rank                                           119\n",
            "Happiness Score                                        4.518\n",
            "Standard Error                                       0.07331\n",
            "Economy (GDP per Capita)                             0.26673\n",
            "Family                                               0.74302\n",
            "Health (Life Expectancy)                             0.38847\n",
            "Freedom                                              0.24425\n",
            "Trust (Government Corruption)                        0.17175\n",
            "Generosity                                           0.46187\n",
            "Dystopia Residual                                    2.24173\n",
            "Name: 118, dtype: object\n",
            "Country                            Congo (Kinshasa)\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  120\n",
            "Happiness Score                               4.517\n",
            "Standard Error                               0.0368\n",
            "Economy (GDP per Capita)                        0.0\n",
            "Family                                       1.0012\n",
            "Health (Life Expectancy)                    0.09806\n",
            "Freedom                                     0.22605\n",
            "Trust (Government Corruption)               0.07625\n",
            "Generosity                                  0.24834\n",
            "Dystopia Residual                           2.86712\n",
            "Name: 119, dtype: object\n",
            "Country                                  Nepal\n",
            "Region                           Southern Asia\n",
            "Happiness Rank                             121\n",
            "Happiness Score                          4.514\n",
            "Standard Error                         0.03607\n",
            "Economy (GDP per Capita)               0.35997\n",
            "Family                                 0.86449\n",
            "Health (Life Expectancy)               0.56874\n",
            "Freedom                                0.38282\n",
            "Trust (Government Corruption)          0.05907\n",
            "Generosity                             0.32296\n",
            "Dystopia Residual                      1.95637\n",
            "Name: 120, dtype: object\n",
            "Country                                    Ethiopia\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  122\n",
            "Happiness Score                               4.512\n",
            "Standard Error                               0.0378\n",
            "Economy (GDP per Capita)                    0.19073\n",
            "Family                                      0.60406\n",
            "Health (Life Expectancy)                    0.44055\n",
            "Freedom                                      0.4345\n",
            "Trust (Government Corruption)               0.15048\n",
            "Generosity                                  0.24325\n",
            "Dystopia Residual                           2.44876\n",
            "Name: 121, dtype: object\n",
            "Country                                Sierra Leone\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  123\n",
            "Happiness Score                               4.507\n",
            "Standard Error                              0.07068\n",
            "Economy (GDP per Capita)                    0.33024\n",
            "Family                                      0.95571\n",
            "Health (Life Expectancy)                        0.0\n",
            "Freedom                                      0.4084\n",
            "Trust (Government Corruption)               0.08786\n",
            "Generosity                                  0.21488\n",
            "Dystopia Residual                           2.51009\n",
            "Name: 122, dtype: object\n",
            "Country                                  Mauritania\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  124\n",
            "Happiness Score                               4.436\n",
            "Standard Error                              0.03947\n",
            "Economy (GDP per Capita)                    0.45407\n",
            "Family                                      0.86908\n",
            "Health (Life Expectancy)                    0.35874\n",
            "Freedom                                     0.24232\n",
            "Trust (Government Corruption)               0.17461\n",
            "Generosity                                    0.219\n",
            "Dystopia Residual                           2.11773\n",
            "Name: 123, dtype: object\n",
            "Country                                       Kenya\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  125\n",
            "Happiness Score                               4.419\n",
            "Standard Error                              0.04734\n",
            "Economy (GDP per Capita)                    0.36471\n",
            "Family                                      0.99876\n",
            "Health (Life Expectancy)                    0.41435\n",
            "Freedom                                     0.42215\n",
            "Trust (Government Corruption)               0.05839\n",
            "Generosity                                  0.37542\n",
            "Dystopia Residual                           1.78555\n",
            "Name: 124, dtype: object\n",
            "Country                                    Djibouti\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  126\n",
            "Happiness Score                               4.369\n",
            "Standard Error                              0.08096\n",
            "Economy (GDP per Capita)                    0.44025\n",
            "Family                                      0.59207\n",
            "Health (Life Expectancy)                    0.36291\n",
            "Freedom                                     0.46074\n",
            "Trust (Government Corruption)               0.28105\n",
            "Generosity                                  0.18093\n",
            "Dystopia Residual                           2.05125\n",
            "Name: 125, dtype: object\n",
            "Country                                             Armenia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                          127\n",
            "Happiness Score                                        4.35\n",
            "Standard Error                                      0.04763\n",
            "Economy (GDP per Capita)                            0.76821\n",
            "Family                                              0.77711\n",
            "Health (Life Expectancy)                             0.7299\n",
            "Freedom                                             0.19847\n",
            "Trust (Government Corruption)                         0.039\n",
            "Generosity                                          0.07855\n",
            "Dystopia Residual                                   1.75873\n",
            "Name: 126, dtype: object\n",
            "Country                                    Botswana\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  128\n",
            "Happiness Score                               4.332\n",
            "Standard Error                              0.04934\n",
            "Economy (GDP per Capita)                    0.99355\n",
            "Family                                      1.10464\n",
            "Health (Life Expectancy)                    0.04776\n",
            "Freedom                                     0.49495\n",
            "Trust (Government Corruption)               0.12474\n",
            "Generosity                                  0.10461\n",
            "Dystopia Residual                           1.46181\n",
            "Name: 127, dtype: object\n",
            "Country                                    Myanmar\n",
            "Region                           Southeastern Asia\n",
            "Happiness Rank                                 129\n",
            "Happiness Score                              4.307\n",
            "Standard Error                             0.04351\n",
            "Economy (GDP per Capita)                   0.27108\n",
            "Family                                     0.70905\n",
            "Health (Life Expectancy)                   0.48246\n",
            "Freedom                                    0.44017\n",
            "Trust (Government Corruption)              0.19034\n",
            "Generosity                                 0.79588\n",
            "Dystopia Residual                          1.41805\n",
            "Name: 128, dtype: object\n",
            "Country                                             Georgia\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                          130\n",
            "Happiness Score                                       4.297\n",
            "Standard Error                                      0.04221\n",
            "Economy (GDP per Capita)                             0.7419\n",
            "Family                                              0.38562\n",
            "Health (Life Expectancy)                            0.72926\n",
            "Freedom                                             0.40577\n",
            "Trust (Government Corruption)                       0.38331\n",
            "Generosity                                          0.05547\n",
            "Dystopia Residual                                   1.59541\n",
            "Name: 129, dtype: object\n",
            "Country                                      Malawi\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  131\n",
            "Happiness Score                               4.292\n",
            "Standard Error                               0.0613\n",
            "Economy (GDP per Capita)                    0.01604\n",
            "Family                                      0.41134\n",
            "Health (Life Expectancy)                    0.22562\n",
            "Freedom                                     0.43054\n",
            "Trust (Government Corruption)               0.06977\n",
            "Generosity                                  0.33128\n",
            "Dystopia Residual                           2.80791\n",
            "Name: 130, dtype: object\n",
            "Country                              Sri Lanka\n",
            "Region                           Southern Asia\n",
            "Happiness Rank                             132\n",
            "Happiness Score                          4.271\n",
            "Standard Error                         0.03751\n",
            "Economy (GDP per Capita)               0.83524\n",
            "Family                                 1.01905\n",
            "Health (Life Expectancy)               0.70806\n",
            "Freedom                                0.53726\n",
            "Trust (Government Corruption)          0.09179\n",
            "Generosity                             0.40828\n",
            "Dystopia Residual                      0.67108\n",
            "Name: 131, dtype: object\n",
            "Country                                    Cameroon\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  133\n",
            "Happiness Score                               4.252\n",
            "Standard Error                              0.04678\n",
            "Economy (GDP per Capita)                     0.4225\n",
            "Family                                      0.88767\n",
            "Health (Life Expectancy)                    0.23402\n",
            "Freedom                                     0.49309\n",
            "Trust (Government Corruption)               0.05786\n",
            "Generosity                                  0.20618\n",
            "Dystopia Residual                           1.95071\n",
            "Name: 132, dtype: object\n",
            "Country                                            Bulgaria\n",
            "Region                           Central and Eastern Europe\n",
            "Happiness Rank                                          134\n",
            "Happiness Score                                       4.218\n",
            "Standard Error                                      0.04828\n",
            "Economy (GDP per Capita)                            1.01216\n",
            "Family                                              1.10614\n",
            "Health (Life Expectancy)                            0.76649\n",
            "Freedom                                             0.30587\n",
            "Trust (Government Corruption)                       0.00872\n",
            "Generosity                                          0.11921\n",
            "Dystopia Residual                                   0.89991\n",
            "Name: 133, dtype: object\n",
            "Country                                                    Egypt\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                               135\n",
            "Happiness Score                                            4.194\n",
            "Standard Error                                            0.0326\n",
            "Economy (GDP per Capita)                                  0.8818\n",
            "Family                                                     0.747\n",
            "Health (Life Expectancy)                                 0.61712\n",
            "Freedom                                                  0.17288\n",
            "Trust (Government Corruption)                            0.06324\n",
            "Generosity                                               0.11291\n",
            "Dystopia Residual                                        1.59927\n",
            "Name: 134, dtype: object\n",
            "Country                                                    Yemen\n",
            "Region                           Middle East and Northern Africa\n",
            "Happiness Rank                                               136\n",
            "Happiness Score                                            4.077\n",
            "Standard Error                                           0.04367\n",
            "Economy (GDP per Capita)                                 0.54649\n",
            "Family                                                   0.68093\n",
            "Health (Life Expectancy)                                 0.40064\n",
            "Freedom                                                  0.35571\n",
            "Trust (Government Corruption)                            0.07854\n",
            "Generosity                                               0.09131\n",
            "Dystopia Residual                                        1.92313\n",
            "Name: 135, dtype: object\n",
            "Country                                      Angola\n",
            "Region                           Sub-Saharan Africa\n",
            "Happiness Rank                                  137\n",
            "Happiness Score                               4.033\n",
            "Standard Error                              0.04758\n",
            "Economy (GDP per Capita)                    0.75778\n",
            "Family                                       0.8604\n",
            "Health (Life Expectancy)                    0.16683\n",
            "Freedom                                     0.10384\n",
            "Trust (Government Corruption)               0.07122\n",
            "Generosity                                  0.12344\n"
Download .txt
gitextract_lg8wj3x5/

├── Admin/
│   ├── READMEexample.md
│   └── Rough Class Schedule.md
├── Classwork/
│   ├── 01_AllTheStuffYouNeedToKnowPython.ipynb
│   ├── 02_DebuggingBasics.ipynb
│   ├── 02_PythonReview.ipynb
│   ├── 03_AllTheStuffYouNeedToKnowMath.ipynb
│   ├── 04_VisualizationI.ipynb
│   ├── 05_VisualizationII.ipynb
│   ├── 06_LinearRegressionI.ipynb
│   ├── 07_LinearRegressionII.ipynb
│   ├── 08_LinearRegressionIII_BiasVarianceTradeoff.ipynb
│   ├── 09_LogisticRegressionI.ipynb
│   ├── 10_LogisticRegressionII.ipynb
│   ├── 11_TreeBasedModels.ipynb
│   ├── 14_KNNAndNaiveBayes.ipynb
│   ├── 15_Ethics.ipynb
│   ├── 16_KMeans.ipynb
│   ├── 17_GaussianMixtureModels.ipynb
│   ├── 18_DBSCAN.ipynb
│   ├── 19_HierarchicalClustering.ipynb
│   ├── 20_PCA.ipynb
│   └── 24_NeuralNetworks.ipynb
├── Data/
│   ├── 06_lin.csv
│   ├── 06_nonlin.csv
│   ├── 07_cw.csv
│   ├── Beyonce_data.csv
│   ├── BreastCancer.csv
│   ├── CCfraud.csv
│   ├── EmailFromChelsea.csv
│   ├── GMM_Classwork_01.csv
│   ├── GMM_Classwork_02.csv
│   ├── GMM_Classwork_03.csv
│   ├── GMM_Classwork_04.csv
│   ├── GradAdmissions.csv
│   ├── HAC1.csv
│   ├── HW2.csv
│   ├── HW3.csv
│   ├── HW3_behavioral.csv
│   ├── HW3_topics.csv
│   ├── HW4_1.csv
│   ├── HomeOwnership.csv
│   ├── HomeOwnership2.csv
│   ├── HufflePuff.csv
│   ├── HufflePuffTEXT.csv
│   ├── HufflePuffTEXT2.csv
│   ├── IPODataFull.csv
│   ├── KMEM1.csv
│   ├── KMEM2.csv
│   ├── KMEM3.csv
│   ├── KMEM4.csv
│   ├── KMEM5.csv
│   ├── KMEM6.csv
│   ├── KNNCompareSpotify.csv
│   ├── KrispyKreme.csv
│   ├── LeagueofLegends.csv
│   ├── Lizzo_data.csv
│   ├── McMenu.csv
│   ├── MushroomData.ipynb
│   ├── Music_data.csv
│   ├── NN.csv
│   ├── NN_test.csv
│   ├── PalmerPenguinDataDownload.ipynb
│   ├── Pokemon.csv
│   ├── PopDivas_data.csv
│   ├── Proj1.csv
│   ├── SKP_fashion.csv
│   ├── SKP_fashionBIG.csv
│   ├── SKP_fashionNEW.csv
│   ├── TaylorSwiftSpotify.csv
│   ├── X_cols_df.csv
│   ├── X_cols_df2.csv
│   ├── YouTubeKidsVideo.csv
│   ├── airport-screening.txt
│   ├── all_players.csv
│   ├── amazon-books.txt
│   ├── avocado.csv
│   ├── bis-bas-bart-syn-clean.csv
│   ├── bis-bas-bart-syn-future.csv
│   ├── boutique.csv
│   ├── burger-king-items.txt
│   ├── burgersOrPizza.csv
│   ├── buyDress.csv
│   ├── candy-bars.txt
│   ├── catowner.csv
│   ├── cereal.csv
│   ├── debugging.csv
│   ├── diabetes2.csv
│   ├── fastfood_calories.csv
│   ├── fellAsleep.csv
│   ├── gpa.csv
│   ├── heart.csv
│   ├── heart_failure_clinical_records_dataset.csv
│   ├── hearthstone_data.csv
│   ├── heightWeight.csv
│   ├── heightWeightBIG.csv
│   ├── iris.csv
│   ├── jobSuccess.csv
│   ├── kc_house_data.csv
│   ├── knnclasswork.csv
│   ├── knnclasswork2.csv
│   ├── made_purchase.csv
│   ├── makeup.csv
│   ├── office.csv
│   ├── office_long.csv
│   ├── pca0.csv
│   ├── pca10.csv
│   ├── pca11.csv
│   ├── pca12.csv
│   ├── pca5.csv
│   ├── pca9.csv
│   ├── pcaLogit.csv
│   ├── penguins.csv
│   ├── players_15.csv
│   ├── prideAndPrejudice.txt
│   ├── programmers.csv
│   ├── programmers2.csv
│   ├── programmers3.csv
│   ├── purchase.csv
│   ├── ramen-ratings.csv
│   ├── reactionTime.csv
│   ├── regX1.csv
│   ├── regX2.csv
│   ├── regX3.csv
│   ├── regX4.csv
│   ├── related.csv
│   ├── spam.csv
│   ├── spotifypandas.csv
│   ├── streaming.csv
│   ├── streamingFILMS.csv
│   ├── streamingNEW.csv
│   ├── telecom_churn.csv
│   ├── testNB.csv
│   ├── testperform.csv
│   ├── testperform_long.csv
│   ├── tests_and_grades.csv
│   ├── unrelated.csv
│   ├── wineLARGE.csv
│   ├── winequality-red.csv
│   ├── y_df.csv
│   ├── y_df2.csv
│   └── zillow_2016.csv
├── Extras/
│   ├── AltTextActivity.ipynb
│   ├── AssumptionChecksWithModelVal.ipynb
│   ├── BarChart-Reorder.ipynb
│   ├── DoZScoresAffectLinearRegressionPerformance?.ipynb
│   ├── DownloadingAsPDF.md
│   ├── Downloads.ipynb
│   ├── EigenFacesCodeCLASS.ipynb
│   ├── EquivalenceOfHarshnessTerms.ipynb
│   ├── ExtraneousCWCode/
│   │   └── validationcomplexitysim.py
│   ├── GMMMath.ipynb
│   ├── GradientDescent.html
│   ├── LectureLinks/
│   │   └── KMeansandGMMApplicationLinks.ipynb
│   ├── RVersions/
│   │   ├── Linear_Ridge_LASSO.ipynb
│   │   ├── MethodsOfModelValidation.ipynb
│   │   └── PrincipalComponentAnalysis.ipynb
│   ├── SeabornVizVersions/
│   │   ├── Visualization I--Class 4_seaborn.ipynb
│   │   └── Visualization II--Class 5_seaborn.ipynb
│   ├── ShinyHangman.ipynb
│   ├── SquidGameGlassBridge.ipynb
│   ├── Test.qmd
│   └── get_dummies.ipynb
├── FinalProject/
│   └── FinalProjectTemplate.qmd
├── Homework/
│   ├── HW1_SP24.ipynb
│   ├── HW2_SP24.ipynb
│   ├── HW3_FA23.ipynb
│   └── MissedQuizMakeupAssignment.ipynb
├── Lectures/
│   └── LectureNotebooks/
│       ├── 01_AllTheStuffYouNeedToKnowPython.ipynb
│       ├── 01_AllTheStuffYouNeedToKnowPython_BLANK.ipynb
│       ├── 02_DebuggingBasics.ipynb
│       ├── 04_VisualizationI.ipynb
│       ├── 04_VisualizationI_BLANK.ipynb
│       ├── 05_VisualizationII.ipynb
│       └── 05_VisualizationII_BLANK.ipynb
├── README.md
└── Syllabus.md
Download .txt
SYMBOL INDEX (3 symbols across 1 files)

FILE: Extras/ExtraneousCWCode/validationcomplexitysim.py
  function TTSSim (line 39) | def TTSSim(X,y, contin):
  function KFSim (line 61) | def KFSim(X,y, contin):
  function LOOSim (line 89) | def LOOSim(X,y, contin):
Copy disabled (too large) Download .json
Condensed preview — 176 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (56,621K chars).
[
  {
    "path": "Admin/READMEexample.md",
    "chars": 415,
    "preview": "### Personal Info\n<ul>\n<li>a. Full\tname</li>\n<li>b. Student\tID</li>\n<li>c. Chapman\temail</li>\n<li>d. Course\tnumber\tand\ts"
  },
  {
    "path": "Admin/Rough Class Schedule.md",
    "chars": 4554,
    "preview": "# Class Schedule MAY change\n\n| **Section**            | **Week** | **Class** | **Topic**                                "
  },
  {
    "path": "Classwork/01_AllTheStuffYouNeedToKnowPython.ipynb",
    "chars": 257740,
    "preview": "{\n  \"cells\": [\n    {\n      \"cell_type\": \"markdown\",\n      \"source\": [\n        \"# Review\\n\",\n        \"Pandas is a package"
  },
  {
    "path": "Classwork/02_DebuggingBasics.ipynb",
    "chars": 9307,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Classwork/02_PythonReview.ipynb",
    "chars": 49155,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Classwork/03_AllTheStuffYouNeedToKnowMath.ipynb",
    "chars": 38580,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Classwork/04_VisualizationI.ipynb",
    "chars": 12380,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Classwork/05_VisualizationII.ipynb",
    "chars": 5364,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Classwork/06_LinearRegressionI.ipynb",
    "chars": 32245,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Classwork/07_LinearRegressionII.ipynb",
    "chars": 169971,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 5,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Classwork/08_LinearRegressionIII_BiasVarianceTradeoff.ipynb",
    "chars": 41954,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 36,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n"
  },
  {
    "path": "Classwork/09_LogisticRegressionI.ipynb",
    "chars": 24157,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Classwork/10_LogisticRegressionII.ipynb",
    "chars": 160927,
    "preview": "{\n  \"cells\": [\n    {\n      \"cell_type\": \"code\",\n      \"execution_count\": 1,\n      \"metadata\": {\n        \"id\": \"2RZhJ4Sun"
  },
  {
    "path": "Classwork/11_TreeBasedModels.ipynb",
    "chars": 38461,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Classwork/14_KNNAndNaiveBayes.ipynb",
    "chars": 1558423,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Classwork/15_Ethics.ipynb",
    "chars": 1144,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# Ethics\\n\",\n    \"\\n\",\n    \"## Case"
  },
  {
    "path": "Classwork/16_KMeans.ipynb",
    "chars": 26954,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Classwork/17_GaussianMixtureModels.ipynb",
    "chars": 769395,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Classwork/18_DBSCAN.ipynb",
    "chars": 1447678,
    "preview": "{\n  \"cells\": [\n    {\n      \"cell_type\": \"code\",\n      \"execution_count\": 1,\n      \"metadata\": {\n        \"id\": \"ix1RY6ZGV"
  },
  {
    "path": "Classwork/19_HierarchicalClustering.ipynb",
    "chars": 580668,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Classwork/20_PCA.ipynb",
    "chars": 16313,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Classwork/24_NeuralNetworks.ipynb",
    "chars": 9035,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Data/06_lin.csv",
    "chars": 3818,
    "preview": "x,y\n-0.659427032617137,-0.7814296437522585\n0.9916341211308404,7.879626581755064\n1.5761597778277276,7.640828385777033\n1.7"
  },
  {
    "path": "Data/06_nonlin.csv",
    "chars": 3807,
    "preview": "x,y\n0.7334383943150042,4.369563790476676\n-1.6301029717073652,1.2467535633051774\n-1.8886902838259565,1.5573595887639917\n-"
  },
  {
    "path": "Data/07_cw.csv",
    "chars": 3517,
    "preview": "\"ChickenFingers\",\"Happiness\"\n0,-1.57445880497025\n0.101010101010101,-1.48832557060466\n0.202020202020202,-0.99077699726896"
  },
  {
    "path": "Data/Beyonce_data.csv",
    "chars": 47242,
    "preview": "\"\",\"artist_name\",\"danceability\",\"energy\",\"key\",\"loudness\",\"mode\",\"speechiness\",\"acousticness\",\"instrumentalness\",\"livene"
  },
  {
    "path": "Data/BreastCancer.csv",
    "chars": 125204,
    "preview": "\"id\",\"diagnosis\",\"radius_mean\",\"texture_mean\",\"perimeter_mean\",\"area_mean\",\"smoothness_mean\",\"compactness_mean\",\"concavi"
  },
  {
    "path": "Data/CCfraud.csv",
    "chars": 5019,
    "preview": "\"fraud\",\"home\",\"amount\",\"cashBack\"\n\"0\",1,81.2178530156248,0\n\"0\",1,67.8792228970596,0\n\"0\",1,75.9899024055669,0\n\"0\",1,67.4"
  },
  {
    "path": "Data/EmailFromChelsea.csv",
    "chars": 2047,
    "preview": "\"heyClass\",\"just\",\"zoom\",\"best\",\"chelseaEmail\"\n1,0,1,1,1\n1,1,0,1,1\n0,0,1,1,1\n1,1,0,1,1\n1,1,1,1,1\n1,0,0,1,1\n1,0,1,1,1\n1,0"
  },
  {
    "path": "Data/GMM_Classwork_01.csv",
    "chars": 57497,
    "preview": "X1,X2\n-5.198112818628083,0.6418693163940358\n-5.752295378391194,0.4186271113893151\n-10.844898372319836,-7.553522726562745"
  },
  {
    "path": "Data/GMM_Classwork_02.csv",
    "chars": 57667,
    "preview": "X1,X2\n-3.4246942057393035,3.856714531986795\n-3.6705500233685355,4.0192266438163795\n-3.508981942806227,0.4650364001647391"
  },
  {
    "path": "Data/GMM_Classwork_03.csv",
    "chars": 57341,
    "preview": "X1,X2\n-6.111197213022978,1.4715306174644063\n-7.496653612430757,0.9134251049526045\n-10.844898372319836,-7.553522726562745"
  },
  {
    "path": "Data/GMM_Classwork_04.csv",
    "chars": 23269,
    "preview": "X1,X2\n-10.844898372319836,-7.553522726562745\n-9.751573566587453,-5.203026198176283\n-11.510236350280888,-4.16284321381208"
  },
  {
    "path": "Data/GradAdmissions.csv",
    "chars": 14707,
    "preview": "Serial No.,GRE Score,TOEFL Score,University Rating,SOP,LOR ,CGPA,Research,Admitted\r\n1,337,118,4,4.5,4.5,9.65,1,1\r\n2,324,"
  },
  {
    "path": "Data/HAC1.csv",
    "chars": 12043,
    "preview": "\"x\",\"y\",\"cluster\"\n1.83646215047804,1.21442243019908,\"A\"\n2.62647644458488,1.349307241283,\"A\"\n1.70043615577409,0.718202664"
  },
  {
    "path": "Data/HW2.csv",
    "chars": 652976,
    "preview": "\"Position\",\"correct\",\"WordList\",\"Trial.Number\",\"out_degree\",\"in_degree\",\"Length\",\"Log_Freq_HAL\",\"Ortho_N\",\"Phono_N\",\"Con"
  },
  {
    "path": "Data/HW3.csv",
    "chars": 40547,
    "preview": "\"x\",\"y\"\n-0.386296588694677,2.01918998081237\n0.122299404814839,1.8842666875571\n0.109274732880294,1.57005249732174\n0.12337"
  },
  {
    "path": "Data/HW3_behavioral.csv",
    "chars": 21435,
    "preview": "\"age\",\"current_income\",\"time_spent_browsing\",\"length_of_subscription\",\"monthly_visits\",\"longest_read_time\",\"gender\",\"pro"
  },
  {
    "path": "Data/HW3_topics.csv",
    "chars": 5259,
    "preview": "\"Stocks\",\"Productivity\",\"Fashion\",\"Celebrity\",\"Cryptocurrency\",\"Science\",\"Technology\",\"SelfHelp\",\"Fitness\",\"AI\",\"id\"\n3,1"
  },
  {
    "path": "Data/HW4_1.csv",
    "chars": 927247,
    "preview": "\"X1\",\"X2\",\"X3\",\"X4\",\"X5\",\"X6\",\"X7\",\"X8\",\"X9\",\"X10\",\"X11\",\"X12\",\"X13\",\"X14\",\"X15\",\"X16\",\"X17\",\"X18\",\"X19\",\"X20\",\"X21\",\"X2"
  },
  {
    "path": "Data/HomeOwnership.csv",
    "chars": 260,
    "preview": "\"incomeOver100k\",\"ageOver40\",\"kids\",\"morethan1Income\",\"own\"\n1,1,1,0,1\n1,1,1,1,1\n1,1,0,1,1\n0,1,0,1,1\n1,1,1,0,1\n1,1,1,1,1\n"
  },
  {
    "path": "Data/HomeOwnership2.csv",
    "chars": 2060,
    "preview": "\"incomeOver100k\",\"ageOver40\",\"kids\",\"morethan1Income\",\"own\"\n1,0,1,1,1\n1,1,1,1,1\n0,1,1,1,1\n1,0,0,1,1\n1,0,1,1,1\n1,1,1,1,1\n"
  },
  {
    "path": "Data/HufflePuff.csv",
    "chars": 8053,
    "preview": "\"hufflepuff\",\"birthOrder\",\"parentInHuff\",\"introvert\"\n1,1,0,0\n1,0,0,1\n1,1,0,1\n1,2,0,1\n1,2,0,0\n1,1,0,0\n1,2,0,0\n1,1,0,0\n1,1"
  },
  {
    "path": "Data/HufflePuffTEXT.csv",
    "chars": 27988,
    "preview": "\"hufflepuff\",\"birthOrder\",\"parentInHuff\",\"introvert\"\n\"Hufflepuff\",\"middle\",\"No\",\"No\"\n\"Hufflepuff\",\"first\",\"No\",\"Yes\"\n\"Hu"
  },
  {
    "path": "Data/HufflePuffTEXT2.csv",
    "chars": 27988,
    "preview": "\"hufflepuff\",\"birthOrder\",\"parentInHuff\",\"introvert\"\n\"Hufflepuff\",\"middle\",\"No\",\"No\"\n\"Hufflepuff\",\"first\",\"No\",\"Yes\"\n\"Hu"
  },
  {
    "path": "Data/KMEM1.csv",
    "chars": 7228,
    "preview": "\"x\",\"y\"\n1.20608658383219,1.84768613327318\n0.351919065548153,0.245691313487985\n1.20168825077356,0.630773694339788\n0.73370"
  },
  {
    "path": "Data/KMEM2.csv",
    "chars": 10863,
    "preview": "\"x\",\"y\"\n1.57852702111055,1.4081111586929\n1.7482062151332,0.441915300666907\n1.52315125821726,0.681520622989111\n1.31894925"
  },
  {
    "path": "Data/KMEM3.csv",
    "chars": 10812,
    "preview": "\"x\",\"y\"\n1.33222823543202,0.178298596361436\n1.25605558706688,0.146764921756658\n1.47766056798572,0.15505351152561\n1.384840"
  },
  {
    "path": "Data/KMEM4.csv",
    "chars": 21210,
    "preview": "\"x\",\"y\"\n-0.00684776106125255,0.395526584048842\n0.314819883444972,-0.289260521096417\n0.171705426192418,1.07807668182473\n-"
  },
  {
    "path": "Data/KMEM5.csv",
    "chars": 16446,
    "preview": "\"x\",\"y\"\n2.85244870382649,-0.324568299229192\n2.34634193694923,-0.729223724897071\n2.22903284419932,-0.599339841003491\n2.45"
  },
  {
    "path": "Data/KMEM6.csv",
    "chars": 10863,
    "preview": "\"x\",\"y\"\n0.712519969372163,0.653490904505349\n0.910913599899884,0.0682420783216774\n0.750752451269202,0.52651221987917\n0.66"
  },
  {
    "path": "Data/KNNCompareSpotify.csv",
    "chars": 940928,
    "preview": "\"artist_name\",\"artist_id\",\"album_id\",\"album_type\",\"album_release_date\",\"album_release_year\",\"album_release_date_precisio"
  },
  {
    "path": "Data/KrispyKreme.csv",
    "chars": 52576,
    "preview": "\"Restaurant_Item_Name\",\"restaurant\",\"Restaurant_ID\",\"Item_Name\",\"Item_Description\",\"Food_Category\",\"Serving_Size\",\"Servi"
  },
  {
    "path": "Data/Lizzo_data.csv",
    "chars": 27740,
    "preview": "\"\",\"artist_name\",\"artist_id\",\"album_id\",\"album_type\",\"album_release_date\",\"album_release_year\",\"album_release_date_preci"
  },
  {
    "path": "Data/McMenu.csv",
    "chars": 29972,
    "preview": "Category,Item,Serving Size,Calories,Calories from Fat,Total Fat,Total Fat (% Daily Value),Saturated Fat,Saturated Fat (%"
  },
  {
    "path": "Data/MushroomData.ipynb",
    "chars": 1323,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Data/Music_data.csv",
    "chars": 260709,
    "preview": "\"\",\"artist_name\",\"danceability\",\"energy\",\"key\",\"loudness\",\"mode\",\"speechiness\",\"acousticness\",\"instrumentalness\",\"livene"
  },
  {
    "path": "Data/NN.csv",
    "chars": 18217,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\"\n0.572168488844552,-1.42507894210259,0.104027178483032,0.1580783424823"
  },
  {
    "path": "Data/NN_test.csv",
    "chars": 9139,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\"\n0.384804958306223,1.01490495070766,-1.0245539944189,1.40613203301274,"
  },
  {
    "path": "Data/PalmerPenguinDataDownload.ipynb",
    "chars": 4164,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 3,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Data/Pokemon.csv",
    "chars": 41740,
    "preview": "Name,Type 1,Type 2,Total,HP,Attack,Defense,Sp. Atk,Sp. Def,Speed,Generation,Legendary\r\nBulbasaur,Grass,Poison,318,45,49,"
  },
  {
    "path": "Data/PopDivas_data.csv",
    "chars": 159312,
    "preview": "\"\",\"artist_name\",\"danceability\",\"energy\",\"key\",\"loudness\",\"mode\",\"speechiness\",\"acousticness\",\"instrumentalness\",\"livene"
  },
  {
    "path": "Data/Proj1.csv",
    "chars": 910097,
    "preview": "\"age\",\"hypertension\",\"heart_disease\",\"ever_married\",\"Residence_type\",\"avg_glucose_level\",\"bmi\",\"stroke\",\"smoking_status_"
  },
  {
    "path": "Data/SKP_fashion.csv",
    "chars": 603,
    "preview": "\"age\",\"income\",\"months_subbed\",\"upgrade\"\n22,108.99,35,1\n32,58.63,46,1\n38,62.89,35,1\n14,74.39,19,1\n33,60.11,8,1\n34,60.63,"
  },
  {
    "path": "Data/SKP_fashionBIG.csv",
    "chars": 13964,
    "preview": "\"age\",\"income\",\"months_subbed\",\"upgrade\"\n22,55.89,14,0\n32,86.03,57,0\n38,49.22,37,1\n14,92.71,51,1\n33,94.06,37,0\n34,41.88,"
  },
  {
    "path": "Data/SKP_fashionNEW.csv",
    "chars": 13987,
    "preview": "\"age\",\"income\",\"months_subbed\",\"upgrade\"\n21,46.91,37,0\n35,53.38,39,1\n24,93.23,40,1\n25,96.59,79,0\n31,64.55,70,1\n28,61.37,"
  },
  {
    "path": "Data/TaylorSwiftSpotify.csv",
    "chars": 162193,
    "preview": "\"artist_name\",\"artist_id\",\"album_id\",\"album_type\",\"album_release_date\",\"album_release_year\",\"album_release_date_precisio"
  },
  {
    "path": "Data/X_cols_df.csv",
    "chars": 7853195,
    "preview": "X0,X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14,X15,X16,X17,X18,X19,X20,X21,X22,X23,X24,X25,X26,X27,X28,X29,X30,X31,X3"
  },
  {
    "path": "Data/X_cols_df2.csv",
    "chars": 1963975,
    "preview": "X0,X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14,X15,X16,X17,X18,X19,X20,X21,X22,X23,X24,X25,X26,X27,X28,X29,X30,X31,X3"
  },
  {
    "path": "Data/YouTubeKidsVideo.csv",
    "chars": 24042,
    "preview": "\"kidsVideo\",\"cat\",\"toy\",\"sad\",\"girl\",\"is\"\n1,1,0,0,0,0\n1,1,0,0,0,0\n1,1,1,0,0,0\n1,1,1,0,0,0\n1,0,0,0,0,0\n1,1,1,1,0,0\n1,1,1,"
  },
  {
    "path": "Data/airport-screening.txt",
    "chars": 953,
    "preview": "year\tScreened\tTotal weapons\tHandguns\tLong guns\tFirearm arrests\tExplosives\tfalse info\n1977\t508.8\t2034\t1730\t64\t810\t5\t44\n19"
  },
  {
    "path": "Data/all_players.csv",
    "chars": 1420493,
    "preview": "Player,Club,POS,GP,GS,MINS,G,A,SHTS,SOG,GWG,PKG/A,HmG,RdG,G/90min,SC%,GWA,HmA,RdA,A/90min,FC,FS,OFF,YC,RC,SOG%,Year,Seas"
  },
  {
    "path": "Data/amazon-books.txt",
    "chars": 34258,
    "preview": "Title\tAuthor\tList Price\tAmazon Price\tHard/ Paper\tNumPages\tPublisher\tPub year\tISBN-10\tHeight\tWidth\tThick\tWeight (oz)\n\"1,0"
  },
  {
    "path": "Data/avocado.csv",
    "chars": 1989197,
    "preview": ",Date,AveragePrice,Total Volume,4046,4225,4770,Total Bags,Small Bags,Large Bags,XLarge Bags,type,year,region\r\n0,2015-12-"
  },
  {
    "path": "Data/bis-bas-bart-syn-clean.csv",
    "chars": 25749,
    "preview": "\"BIS.Score\",\"BAS.Drive.Score\",\"BAS.Fun.Seeking.Score\",\"BAS.Reward.Responsiveness.Score\",\"Age\",\"Female\",\"BART\"\n21,8,12,18"
  },
  {
    "path": "Data/bis-bas-bart-syn-future.csv",
    "chars": 921,
    "preview": "\"BIS.Score\",\"BAS.Drive.Score\",\"BAS.Fun.Seeking.Score\",\"BAS.Reward.Responsiveness.Score\",\"Age\",\"Female\"\n21,9,8,18,23,0\n28"
  },
  {
    "path": "Data/boutique.csv",
    "chars": 1162918,
    "preview": "\"year\",\"gender\",\"age\",\"height_cm\",\"waist_size_cm\",\"inseam_cm\",\"test_group\",\"salary_self_report_in_k\",\"months_active\",\"nu"
  },
  {
    "path": "Data/burger-king-items.txt",
    "chars": 8720,
    "preview": "Item\tServing.size\tCalories\tFat.Cal\tProtein(g)\tFat(g)\tSat.Fat(g)\tTrans.fat(g)\tChol(mg)\tSodium(mg)\tCarbs(g)\tFiber(g)\tSugar"
  },
  {
    "path": "Data/burgersOrPizza.csv",
    "chars": 240103,
    "preview": "\"Item_Name\",\"Item_Description\",\"Food_Category\",\"Calories\",\"Total_Fat\",\"Saturated_Fat\",\"Trans_Fat\",\"Cholesterol\",\"Sodium\""
  },
  {
    "path": "Data/buyDress.csv",
    "chars": 15029,
    "preview": "\"buy\",\"size\",\"over40\",\"favColor\"\n1,\"m\",0,\"Red\"\n1,\"s\",1,\"Blue\"\n1,\"l\",0,\"Green\"\n1,\"l\",0,\"Blue\"\n1,\"m\",1,\"Green\"\n1,\"l\",0,\"Gr"
  },
  {
    "path": "Data/candy-bars.txt",
    "chars": 3502,
    "preview": "Candybarname\tCalories\tFatCal\tTotalCal\tCholesterol\tSodium\tFiber\tSugar\tProtein\tCalcium\tNuts\nAlmondJoy\t4.7959184\t2.4285714\t"
  },
  {
    "path": "Data/catowner.csv",
    "chars": 6125,
    "preview": "\"\",\"cat\",\"childhoodPet\",\"income\",\"wfh\",\"children\"\n\"112\",0,0,64.9964714398526,1,1\n\"64\",1,1,72.2542380342085,1,0\n\"194\",0,1"
  },
  {
    "path": "Data/cereal.csv",
    "chars": 4979,
    "preview": "name,mfr,type,calories,protein,fat,sodium,fiber,carbo,sugars,potass,vitamins,shelf,weight,cups,rating\n100%_Bran,N,C,70,4"
  },
  {
    "path": "Data/debugging.csv",
    "chars": 2440,
    "preview": "\" Age\",\"ID\",\"NumberOfCats\"\n0.663827906455813,149,6\n-0.0664548523318239,100,3\n-0.976202085856584,958,5\n1.91639885706621,8"
  },
  {
    "path": "Data/diabetes2.csv",
    "chars": 23875,
    "preview": "Pregnancies,Glucose,BloodPressure,SkinThickness,Insulin,BMI,DiabetesPedigreeFunction,Age,Outcome\r\n6,148,72,35,0,33.6,0.6"
  },
  {
    "path": "Data/fastfood_calories.csv",
    "chars": 49562,
    "preview": "\"\",\"restaurant\",\"item\",\"calories\",\"cal_fat\",\"total_fat\",\"sat_fat\",\"trans_fat\",\"cholesterol\",\"sodium\",\"total_carb\",\"fiber"
  },
  {
    "path": "Data/fellAsleep.csv",
    "chars": 22599,
    "preview": "\"age\",\"boredom_rating\",\"risk_propensity\",\"height\",\"left_handed\",\"fell_asleep\"\n36,0.56,20,123.52,0,0\n32,23.11,12,172.64,1"
  },
  {
    "path": "Data/gpa.csv",
    "chars": 33539,
    "preview": "\"\",\"GPA\",\"ParentsIncome\",\"SAT.Math\",\"SAT.Reading\",\"SAT.Writing\",\"PeanutAllergy\"\n\"1\",3.03,48555.69,510,527,571,0\n\"2\",3.55"
  },
  {
    "path": "Data/heart.csv",
    "chars": 11326,
    "preview": "age,sex,cp,trestbps,chol,fbs,restecg,thalach,exang,oldpeak,slope,ca,thal,target\r\n63,1,3,145,233,1,0,150,0,2.3,0,0,1,1\r\n"
  },
  {
    "path": "Data/heart_failure_clinical_records_dataset.csv",
    "chars": 12239,
    "preview": "age,anaemia,creatinine_phosphokinase,diabetes,ejection_fraction,high_blood_pressure,platelets,serum_creatinine,serum_sod"
  },
  {
    "path": "Data/heightWeight.csv",
    "chars": 2189,
    "preview": "\"height\",\"weight\",\"diet\",\"age\"\n161.187052654091,88.454144445611,\"meat\",60\n178.692677476325,101.895003528964,\"meat\",50\n17"
  },
  {
    "path": "Data/heightWeightBIG.csv",
    "chars": 43280,
    "preview": "\"height\",\"weight\",\"diet\",\"age\"\n151.886470813919,71.6975077113275,\"meat\",26\n187.971198667887,89.1007112853972,\"meat\",43\n1"
  },
  {
    "path": "Data/iris.csv",
    "chars": 3858,
    "preview": "sepal_length,sepal_width,petal_length,petal_width,species\n5.1,3.5,1.4,0.2,setosa\n4.9,3.0,1.4,0.2,setosa\n4.7,3.2,1.3,0.2,"
  },
  {
    "path": "Data/jobSuccess.csv",
    "chars": 73531,
    "preview": "\"jobSuccess\",\"GPA\",\"ParentalIncome_k\",\"WorkedInSchool\",\"DeansList\",\"StudentClubs\",\"SAT\"\n760.799556170531,3.0104733581237"
  },
  {
    "path": "Data/kc_house_data.csv",
    "chars": 2515206,
    "preview": "id,date,price,bedrooms,bathrooms,sqft_living,sqft_lot,floors,waterfront,view,condition,grade,sqft_above,sqft_basement,yr"
  },
  {
    "path": "Data/knnclasswork.csv",
    "chars": 11094,
    "preview": "\"X1\",\"X2\",\"y\"\n-1.71059521836852,-5.59334500841606,0\n-14.9128773606146,-3.72229656938154,0\n-8.53305394887055,-5.908033043"
  },
  {
    "path": "Data/knnclasswork2.csv",
    "chars": 5489,
    "preview": "X1,X2,y\r\n3.033900483,3.586612488,0\r\n4.787792451,17.66363032,1\r\n7.954019336,0.915931154,1\r\n5.804289179,12.21232917,1\r\n-6."
  },
  {
    "path": "Data/made_purchase.csv",
    "chars": 1314,
    "preview": "\"clicked_email1\",\"clicked_email2\",\"made_past_purchase\",\"made_bf_purchase\"\n0,0,0,0\n0,1,0,0\n1,0,0,0\n0,0,1,0\n0,0,0,0\n1,1,0,"
  },
  {
    "path": "Data/makeup.csv",
    "chars": 404,
    "preview": "\"eyeshaddow\",\"lipstick\",\"foundation\"\n4,8,4\n11,13,4\n8,11,4\n11,18,3\n10,12,3\n15,12,3\n8,14,3\n10,15,1\n6,11,4\n10,15,2\n3,10,3\n1"
  },
  {
    "path": "Data/office.csv",
    "chars": 11984,
    "preview": "\"season\",\"episode\",\"episode_name\",\"andy\",\"angela\",\"darryl\",\"dwight\",\"jim\",\"kelly\",\"kevin\",\"michael\",\"oscar\",\"pam\",\"phyll"
  },
  {
    "path": "Data/office_long.csv",
    "chars": 120404,
    "preview": "\"season\",\"episode\",\"episode_name\",\"ken_kwapis\",\"greg_daniels\",\"b_j_novak\",\"paul_lieberstein\",\"mindy_kaling\",\"paul_feig\","
  },
  {
    "path": "Data/pca0.csv",
    "chars": 20018,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\",\"V11\"\n-0.589324582749312,-0.962855247224683,-0.409352999500839,-0.481"
  },
  {
    "path": "Data/pca10.csv",
    "chars": 19983,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\",\"V11\"\n-1.24708118275427,-1.34948523826857,-0.971545179164189,-0.20988"
  },
  {
    "path": "Data/pca11.csv",
    "chars": 20016,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\",\"V11\"\n0.469553036021251,-1.49211472059469,-0.667141230862244,-0.34807"
  },
  {
    "path": "Data/pca12.csv",
    "chars": 18199,
    "preview": "\"X1\",\"X2\",\"X3\",\"X4\",\"X5\",\"X6\",\"X7\",\"X8\",\"X9\",\"X10\"\n-1.19957256867434,-0.886420166611847,-0.767397825479474,-0.7493214658"
  },
  {
    "path": "Data/pca5.csv",
    "chars": 20050,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\",\"V11\"\n0.0395535631802324,0.56679912825075,1.46037983031197,0.55136895"
  },
  {
    "path": "Data/pca9.csv",
    "chars": 20025,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\",\"V11\"\n1.24390872266109,1.18244131258123,1.24522052095269,1.2834349031"
  },
  {
    "path": "Data/pcaLogit.csv",
    "chars": 20256,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\",\"V11\",\"Outcome\"\n-0.149336641525227,0.442119434570757,0.57667708121163"
  },
  {
    "path": "Data/penguins.csv",
    "chars": 17814,
    "preview": ",species,island,bill_length_mm,bill_depth_mm,flipper_length_mm,body_mass_g,sex,year\n0,Adelie,Torgersen,39.1,18.7,181.0,3"
  },
  {
    "path": "Data/players_15.csv",
    "chars": 7522330,
    "preview": "sofifa_id,player_url,short_name,long_name,age,dob,height_cm,weight_kg,nationality,club,overall,potential,value_eur,wage_"
  },
  {
    "path": "Data/prideAndPrejudice.txt",
    "chars": 790335,
    "preview": "\r\nThe Project Gutenberg EBook of Pride and Prejudice, by Jane Austen\r\n\r\nThis eBook is for the use of anyone anywhere at"
  },
  {
    "path": "Data/programmers.csv",
    "chars": 21165,
    "preview": "\"py\",\"r\",\"c\",\"sql\",\"js\"\n99.5967091300267,77.2534768564276,28.4067576291895,24.7151106739415,-9.00650466412058\n86.0471128"
  },
  {
    "path": "Data/programmers2.csv",
    "chars": 21188,
    "preview": "\"py\",\"r\",\"c\",\"sql\",\"js\"\n103.709584471467,76.6096263260197,27.205792253591,24.4709198230342,-15.0092923773151\n84.35301828"
  },
  {
    "path": "Data/programmers3.csv",
    "chars": 8464,
    "preview": "\"py\",\"r\"\n106.45150136576,79.5069537128552\n83.2236219432469,64.0262548276747\n94.3575409360481,97.0601852770877\n97.5943512"
  },
  {
    "path": "Data/purchase.csv",
    "chars": 1383,
    "preview": "\"age\",\"income_in_k\",\"previous_purchase\",\"signed_up\"\n44,112.01,0,0\n34,110.45,1,1\n39,89.97,1,0\n40,118.48,0,1\n39,93.33,1,1\n"
  },
  {
    "path": "Data/ramen-ratings.csv",
    "chars": 158240,
    "preview": "Review #,Brand,Variety,Style,Country,Stars,Top Ten\n2580,New Touch,T's Restaurant Tantanmen ,Cup,Japan,3.75,\n2579,Just Wa"
  },
  {
    "path": "Data/reactionTime.csv",
    "chars": 40311,
    "preview": "\"age\",\"boredom_rating\",\"risk_propensity\",\"height\",\"left_handed\",\"reaction_time\"\n34,78.87,10.53,146.79,0,900.9499297128\n3"
  },
  {
    "path": "Data/regX1.csv",
    "chars": 220668,
    "preview": "\"X1\",\"X2\",\"X3\",\"X4\",\"X5\",\"X6\",\"X7\",\"X8\",\"X9\",\"X10\",\"X11\",\"X12\",\"X13\",\"X14\",\"X15\",\"X16\",\"X17\",\"X18\",\"X19\",\"X20\",\"X21\",\"X2"
  },
  {
    "path": "Data/regX2.csv",
    "chars": 330121,
    "preview": "\"X1\",\"X2\",\"X3\",\"X4\",\"X5\",\"X6\",\"X7\",\"X8\",\"X9\",\"X10\",\"X11\",\"X12\",\"X13\",\"X14\",\"X15\",\"X16\",\"X17\",\"X18\",\"X19\",\"X20\",\"X21\",\"X2"
  },
  {
    "path": "Data/regX3.csv",
    "chars": 330227,
    "preview": "\"X1\",\"X2\",\"X3\",\"X4\",\"X5\",\"X6\",\"X7\",\"X8\",\"X9\",\"X10\",\"X11\",\"X12\",\"X13\",\"X14\",\"X15\",\"X16\",\"X17\",\"X18\",\"X19\",\"X20\",\"X21\",\"X2"
  },
  {
    "path": "Data/regX4.csv",
    "chars": 330195,
    "preview": "\"X1\",\"X2\",\"X3\",\"X4\",\"X5\",\"X6\",\"X7\",\"X8\",\"X9\",\"X10\",\"X11\",\"X12\",\"X13\",\"X14\",\"X15\",\"X16\",\"X17\",\"X18\",\"X19\",\"X20\",\"X21\",\"X2"
  },
  {
    "path": "Data/related.csv",
    "chars": 181575,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\"\n-0.162818605091574,-1.57116163260019,-1.15137082929446,-0.31545852401"
  },
  {
    "path": "Data/spam.csv",
    "chars": 2041,
    "preview": "\"is_spam\",\"viagra\",\"love\",\"dollar\",\"buy\"\n1,0,0,0,0\n1,0,0,1,1\n0,0,0,0,0\n1,1,0,1,1\n1,1,0,0,0\n1,1,0,0,0\n0,1,0,0,0\n0,0,1,0,0"
  },
  {
    "path": "Data/spotifypandas.csv",
    "chars": 479857,
    "preview": "artist,album,track_number,id,name_x,uri_x,acousticness,danceability,energy,instrumentalness,liveness,loudness,speechines"
  },
  {
    "path": "Data/streaming.csv",
    "chars": 7202286,
    "preview": "\"gender\",\"age\",\"income\",\"monthssubbed\",\"plan\",\"meanhourswatched\",\"competitorsub\",\"numprofiles\",\"cancelled\",\"downgraded\","
  },
  {
    "path": "Data/streamingFILMS.csv",
    "chars": 108113,
    "preview": "\"age\",\"income\",\"meanhourswatched\",\"Film1\",\"Film2\",\"Film3\",\"Film4\",\"Film5\",\"Film6\",\"Film7\",\"Film8\",\"Film9\",\"Film10\"\n56,85"
  },
  {
    "path": "Data/streamingNEW.csv",
    "chars": 35502,
    "preview": "\"gender\",\"age\",\"income\",\"monthssubbed\",\"plan\",\"meanhourswatched\",\"competitorsub\",\"numprofiles\",\"cancelled\",\"downgraded\","
  },
  {
    "path": "Data/telecom_churn.csv",
    "chars": 310007,
    "preview": "state,account length,area code,phone number,international plan,voice mail plan,number vmail messages,total day minutes,t"
  },
  {
    "path": "Data/testNB.csv",
    "chars": 1232,
    "preview": "\"pass\",\"Q1\",\"Q2\",\"Q3\",\"Q4\",\"Q5\"\n0,1,1,1,1,1\n1,1,1,1,1,1\n0,0,1,1,1,1\n1,1,1,1,1,1\n1,1,0,1,1,0\n1,1,1,1,0,1\n0,0,1,1,1,1\n0,1,"
  },
  {
    "path": "Data/testperform.csv",
    "chars": 2328,
    "preview": "\"zero\",\"one\",\"two\",\"three\",\"four\",\"id\"\n64.27,65.950883820773,69.8655126334176,70.0718438371173,71.5574561808766,1\n65.42,"
  },
  {
    "path": "Data/testperform_long.csv",
    "chars": 4260,
    "preview": "\"id\",\"name\",\"value\",\"test\"\n\"1\",\"zero\",64.27,0\n\"1\",\"one\",65.950883820773,1\n\"1\",\"two\",69.8655126334176,2\n\"1\",\"three\",70.07"
  },
  {
    "path": "Data/tests_and_grades.csv",
    "chars": 4095,
    "preview": "\"test1\",\"test2\",\"test3\",\"test4\",\"test5\",\"proj_grade\",\"id\"\n51.91,71.4,69.46,77.57,50.69,\"A\",100000\n80.48,48.73,20.99,94.5"
  },
  {
    "path": "Data/unrelated.csv",
    "chars": 181587,
    "preview": "\"V1\",\"V2\",\"V3\",\"V4\",\"V5\",\"V6\",\"V7\",\"V8\",\"V9\",\"V10\"\n-1.64851194289535,-0.311947439555957,0.70988863622595,-0.450921017519"
  },
  {
    "path": "Data/wineLARGE.csv",
    "chars": 348451,
    "preview": "\"fixed.acidity\",\"volatile.acidity\",\"citric.acid\",\"residual.sugar\",\"chlorides\",\"free.sulfur.dioxide\",\"total.sulfur.dioxid"
  },
  {
    "path": "Data/winequality-red.csv",
    "chars": 100951,
    "preview": "fixed acidity,volatile acidity,citric acid,residual sugar,chlorides,free sulfur dioxide,total sulfur dioxide,density,pH,"
  },
  {
    "path": "Data/y_df.csv",
    "chars": 3202,
    "preview": "0\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\n"
  },
  {
    "path": "Data/y_df2.csv",
    "chars": 802,
    "preview": "0\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\n"
  },
  {
    "path": "Data/zillow_2016.csv",
    "chars": 2452454,
    "preview": "parcelid,logerror,transactiondate\n11016594,0.0276,2016-01-01\n14366692,-0.1684,2016-01-01\n12098116,-0.004,2016-01-01\n1264"
  },
  {
    "path": "Extras/AltTextActivity.ipynb",
    "chars": 3576,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# Alt-Texts and Accessibility\\n\",\n "
  },
  {
    "path": "Extras/AssumptionChecksWithModelVal.ipynb",
    "chars": 6340,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Extras/BarChart-Reorder.ipynb",
    "chars": 77723,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 6,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Extras/DoZScoresAffectLinearRegressionPerformance?.ipynb",
    "chars": 107152,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Extras/DownloadingAsPDF.md",
    "chars": 792,
    "preview": "# Ways to Download your Notebook as PDF\n\n## On your Computer\n1. Download As, PDF via LaTeX (make sure you download anyth"
  },
  {
    "path": "Extras/Downloads.ipynb",
    "chars": 2060,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# Installations\\n\",\n    \"\\n\",\n    \""
  },
  {
    "path": "Extras/EigenFacesCodeCLASS.ipynb",
    "chars": 2882464,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [\n    {\n     \"data\":"
  },
  {
    "path": "Extras/EquivalenceOfHarshnessTerms.ipynb",
    "chars": 2550,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"## Python\\n\",\n    \"In python,\\n\",\n "
  },
  {
    "path": "Extras/ExtraneousCWCode/validationcomplexitysim.py",
    "chars": 3494,
    "preview": "import warnings\nwarnings.filterwarnings('ignore')\n\n# data imports\nimport pandas as pd\nimport numpy as np\nfrom plotnine i"
  },
  {
    "path": "Extras/GMMMath.ipynb",
    "chars": 12967,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"## Mixture Models Generally\\n\",\n   "
  },
  {
    "path": "Extras/GradientDescent.html",
    "chars": 45492,
    "preview": "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\" xml:lang=\"en\"><head>\n\n<meta charset=\"utf-8\">\n<meta "
  },
  {
    "path": "Extras/LectureLinks/KMeansandGMMApplicationLinks.ipynb",
    "chars": 1225,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# KMeans and GMM Application Links\\"
  },
  {
    "path": "Extras/RVersions/Linear_Ridge_LASSO.ipynb",
    "chars": 299647,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 74,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n"
  },
  {
    "path": "Extras/RVersions/MethodsOfModelValidation.ipynb",
    "chars": 113037,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 150,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": ["
  },
  {
    "path": "Extras/RVersions/PrincipalComponentAnalysis.ipynb",
    "chars": 339543,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 69,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n"
  },
  {
    "path": "Extras/SeabornVizVersions/Visualization I--Class 4_seaborn.ipynb",
    "chars": 328135,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 89,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n"
  },
  {
    "path": "Extras/SeabornVizVersions/Visualization II--Class 5_seaborn.ipynb",
    "chars": 176415,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Extras/ShinyHangman.ipynb",
    "chars": 4385,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# `hangman()` Function\\n\",\n    \"Wri"
  },
  {
    "path": "Extras/SquidGameGlassBridge.ipynb",
    "chars": 25895,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# The Base Function\\n\",\n    \"Imagin"
  },
  {
    "path": "Extras/Test.qmd",
    "chars": 1273,
    "preview": "---\ntitle: \"Test\"\nauthor: Dr. Chelsea Parlett-Pelleriti\nformat: pdf\n---\n\n## Formatting \n\n# Header 1\nUsing a single # giv"
  },
  {
    "path": "Extras/get_dummies.ipynb",
    "chars": 11636,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 21,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n"
  },
  {
    "path": "FinalProject/FinalProjectTemplate.qmd",
    "chars": 4886,
    "preview": "---\ntitle: \"Final Project\"\nformat: pdf\n---\n\nName 1\nName 2\nName 3\n\n\n# Introduction\n\nDescription of the data (e.g. What va"
  },
  {
    "path": "Homework/HW1_SP24.ipynb",
    "chars": 6676,
    "preview": "{\n  \"cells\": [\n    {\n      \"cell_type\": \"markdown\",\n      \"metadata\": {\n        \"id\": \"BCGNaycMAQXG\"\n      },\n      \"sou"
  },
  {
    "path": "Homework/HW2_SP24.ipynb",
    "chars": 80135,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# Homework 2\\n\",\n    \"Homeworks are"
  },
  {
    "path": "Homework/HW3_FA23.ipynb",
    "chars": 7440,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# Homework 3\\n\",\n    \"Homeworks are"
  },
  {
    "path": "Homework/MissedQuizMakeupAssignment.ipynb",
    "chars": 4784,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"# Missed Quiz Make Up \\n\",\n    \"\\n\""
  },
  {
    "path": "Lectures/LectureNotebooks/01_AllTheStuffYouNeedToKnowPython.ipynb",
    "chars": 127327,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Lectures/LectureNotebooks/01_AllTheStuffYouNeedToKnowPython_BLANK.ipynb",
    "chars": 12933,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Lectures/LectureNotebooks/02_DebuggingBasics.ipynb",
    "chars": 18385,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 3,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Lectures/LectureNotebooks/04_VisualizationI.ipynb",
    "chars": 7156,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Lectures/LectureNotebooks/04_VisualizationI_BLANK.ipynb",
    "chars": 571776,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 1,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n "
  },
  {
    "path": "Lectures/LectureNotebooks/05_VisualizationII.ipynb",
    "chars": 6184,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": "
  },
  {
    "path": "Lectures/LectureNotebooks/05_VisualizationII_BLANK.ipynb",
    "chars": 270646,
    "preview": "{\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 42,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n"
  },
  {
    "path": "README.md",
    "chars": 2280,
    "preview": "# CPSC392ParlettPelleriti\n\n## Readings (optional, all books free)\n* [Python Data Science Handbook (Beginner book + code)"
  },
  {
    "path": "Syllabus.md",
    "chars": 15162,
    "preview": "# CPSC 392| Data Science\n# Spring '24\n# Syllabus\n\n## Instructor: Dr. Chelsea Parlett-Pelleriti (cparlett@chapman.edu)\n##"
  }
]

// ... and 3 more files (download for full content)

About this extraction

This page contains the full source code of the cmparlettpelleriti/CPSC392ParlettPelleriti GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 176 files (202.7 MB), approximately 13.7M tokens, and a symbol index with 3 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!