This commit is contained in:
filnow 2024-04-10 11:47:54 +02:00
parent d7be9c6917
commit 1ec38b723e

View File

@ -8,6 +8,8 @@
"# Statystyki miliarderów\n", "# Statystyki miliarderów\n",
"**Zbiór danych zawiera statystyki dotyczące miliarderów na świecie, zawarte są również ich dane osobowe, branże którymi się zajmują oraz firmy.**\n", "**Zbiór danych zawiera statystyki dotyczące miliarderów na świecie, zawarte są również ich dane osobowe, branże którymi się zajmują oraz firmy.**\n",
"\n", "\n",
"**Został on pobrany z serwisu Kaggle.**\n",
"\n",
"[Źródło](https://www.kaggle.com/datasets/nelgiriyewithana/billionaires-statistics-dataset)" "[Źródło](https://www.kaggle.com/datasets/nelgiriyewithana/billionaires-statistics-dataset)"
] ]
}, },
@ -41,23 +43,22 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 21,
"id": "cb8f7a05-40a5-46cf-8900-88da58e8690f", "id": "cb8f7a05-40a5-46cf-8900-88da58e8690f",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"import numpy as np # linear algebra\n", "import pandas as pd \n",
"import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\n",
"import seaborn as sns\n", "import seaborn as sns\n",
"import matplotlib.pyplot as plt\n", "import matplotlib.pyplot as plt\n",
"import matplotlib.image as mpimg\n", "import matplotlib.image as mpimg\n",
"from matplotlib.ticker import FormatStrFormatter, StrMethodFormatter\n", "\n",
"plt.style.use('ggplot')" "plt.style.use('ggplot')"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 22,
"id": "5a5c0cd6-6606-4983-b945-eeed8b5afe24", "id": "5a5c0cd6-6606-4983-b945-eeed8b5afe24",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -67,7 +68,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 23,
"id": "4b91bc35-5308-49fc-954e-dc278d133c36", "id": "4b91bc35-5308-49fc-954e-dc278d133c36",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -294,7 +295,7 @@
"[5 rows x 35 columns]" "[5 rows x 35 columns]"
] ]
}, },
"execution_count": 4, "execution_count": 23,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -305,7 +306,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 24,
"id": "30486a19", "id": "30486a19",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -364,7 +365,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 25,
"id": "165adea3-3cf5-44e7-9555-2dbebd7b824c", "id": "165adea3-3cf5-44e7-9555-2dbebd7b824c",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -409,7 +410,7 @@
"dtype: int64" "dtype: int64"
] ]
}, },
"execution_count": 5, "execution_count": 25,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -420,7 +421,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 26,
"id": "603f6bb5-366d-4978-bafd-c260983caace", "id": "603f6bb5-366d-4978-bafd-c260983caace",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -447,7 +448,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 27,
"id": "d9aa8a3c-4bed-48d3-87db-2356f44b381c", "id": "d9aa8a3c-4bed-48d3-87db-2356f44b381c",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -457,7 +458,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 28,
"id": "7c9dbf33-76b6-4f7b-a355-d81e352d7859", "id": "7c9dbf33-76b6-4f7b-a355-d81e352d7859",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -484,7 +485,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 29,
"id": "dc6c894e-3e60-491b-a7d0-16e434f8a4eb", "id": "dc6c894e-3e60-491b-a7d0-16e434f8a4eb",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -494,7 +495,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 30,
"id": "4f4918b6-0296-4f5a-8dec-7a65f7653777", "id": "4f4918b6-0296-4f5a-8dec-7a65f7653777",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -516,7 +517,7 @@
"Name: finalWorth, Length: 79, dtype: float64" "Name: finalWorth, Length: 79, dtype: float64"
] ]
}, },
"execution_count": 10, "execution_count": 30,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -527,7 +528,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 31,
"id": "c97d5224-9a5b-4563-a618-5333e0e15625", "id": "c97d5224-9a5b-4563-a618-5333e0e15625",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -549,7 +550,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 32,
"id": "8a71ce98-835a-4974-8edf-ceeb9ec5e2a7", "id": "8a71ce98-835a-4974-8edf-ceeb9ec5e2a7",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -560,7 +561,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 33,
"id": "4f6a6b8a-f111-4592-b187-9e801cdffa63", "id": "4f6a6b8a-f111-4592-b187-9e801cdffa63",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -587,7 +588,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 34,
"id": "b834c620", "id": "b834c620",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -612,7 +613,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 35,
"id": "fc12442c", "id": "fc12442c",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -648,7 +649,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 19, "execution_count": 36,
"id": "bf671c0e", "id": "bf671c0e",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [