{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "initial_id", "metadata": { "ExecuteTime": { "end_time": "2024-06-08T09:52:47.287637Z", "start_time": "2024-06-08T09:52:46.348111Z" }, "collapsed": true }, "outputs": [], "source": [ "import numpy as np\n", "import matplotlib.pyplot as plt\n", "import pandas as pd" ] }, { "cell_type": "code", "execution_count": 2, "id": "613252be66c5c97d", "metadata": { "ExecuteTime": { "end_time": "2024-06-08T09:53:28.061215Z", "start_time": "2024-06-08T09:53:28.039931Z" } }, "outputs": [ { "data": { "text/html": [ "
\n", " | Country | \n", "Happiness.Rank | \n", "Happiness.Score | \n", "Whisker.high | \n", "Whisker.low | \n", "Economy..GDP.per.Capita. | \n", "Family | \n", "Health..Life.Expectancy. | \n", "Freedom | \n", "Generosity | \n", "Trust..Government.Corruption. | \n", "Dystopia.Residual | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "Norway | \n", "1 | \n", "7.537 | \n", "7.594445 | \n", "7.479556 | \n", "1.616463 | \n", "1.533524 | \n", "0.796667 | \n", "0.635423 | \n", "0.362012 | \n", "0.315964 | \n", "2.277027 | \n", "
1 | \n", "Denmark | \n", "2 | \n", "7.522 | \n", "7.581728 | \n", "7.462272 | \n", "1.482383 | \n", "1.551122 | \n", "0.792566 | \n", "0.626007 | \n", "0.355280 | \n", "0.400770 | \n", "2.313707 | \n", "
2 | \n", "Iceland | \n", "3 | \n", "7.504 | \n", "7.622030 | \n", "7.385970 | \n", "1.480633 | \n", "1.610574 | \n", "0.833552 | \n", "0.627163 | \n", "0.475540 | \n", "0.153527 | \n", "2.322715 | \n", "
3 | \n", "Switzerland | \n", "4 | \n", "7.494 | \n", "7.561772 | \n", "7.426227 | \n", "1.564980 | \n", "1.516912 | \n", "0.858131 | \n", "0.620071 | \n", "0.290549 | \n", "0.367007 | \n", "2.276716 | \n", "
4 | \n", "Finland | \n", "5 | \n", "7.469 | \n", "7.527542 | \n", "7.410458 | \n", "1.443572 | \n", "1.540247 | \n", "0.809158 | \n", "0.617951 | \n", "0.245483 | \n", "0.382612 | \n", "2.430182 | \n", "
5 | \n", "Netherlands | \n", "6 | \n", "7.377 | \n", "7.427426 | \n", "7.326574 | \n", "1.503945 | \n", "1.428939 | \n", "0.810696 | \n", "0.585384 | \n", "0.470490 | \n", "0.282662 | \n", "2.294804 | \n", "
6 | \n", "Canada | \n", "7 | \n", "7.316 | \n", "7.384403 | \n", "7.247597 | \n", "1.479204 | \n", "1.481349 | \n", "0.834558 | \n", "0.611101 | \n", "0.435540 | \n", "0.287372 | \n", "2.187264 | \n", "
7 | \n", "New Zealand | \n", "8 | \n", "7.314 | \n", "7.379510 | \n", "7.248490 | \n", "1.405706 | \n", "1.548195 | \n", "0.816760 | \n", "0.614062 | \n", "0.500005 | \n", "0.382817 | \n", "2.046456 | \n", "
8 | \n", "Sweden | \n", "9 | \n", "7.284 | \n", "7.344095 | \n", "7.223905 | \n", "1.494387 | \n", "1.478162 | \n", "0.830875 | \n", "0.612924 | \n", "0.385399 | \n", "0.384399 | \n", "2.097538 | \n", "
9 | \n", "Australia | \n", "10 | \n", "7.284 | \n", "7.356651 | \n", "7.211349 | \n", "1.484415 | \n", "1.510042 | \n", "0.843887 | \n", "0.601607 | \n", "0.477699 | \n", "0.301184 | \n", "2.065211 | \n", "