1장 watermark 추가, 생성된 이미지 업로드

This commit is contained in:
Haesun Park
2018-03-16 15:02:50 +09:00
parent 306e2c645d
commit 7389db1c73
8 changed files with 79 additions and 54 deletions

View File

@@ -1,5 +1,30 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"CPython 3.5.5\n",
"IPython 6.2.1\n",
"\n",
"numpy 1.14.1\n",
"scipy 1.0.0\n",
"sklearn 0.19.1\n",
"pandas 0.22.0\n",
"matplotlib 2.2.0\n"
]
}
],
"source": [
"%load_ext watermark\n",
"%watermark -v -p numpy,scipy,sklearn,pandas,matplotlib"
]
},
{
"cell_type": "markdown",
"metadata": {},
@@ -25,7 +50,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {
"slideshow": {
"slide_type": "-"
@@ -86,7 +111,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
@@ -112,7 +137,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
@@ -122,7 +147,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {},
"outputs": [
{
@@ -179,7 +204,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [
{
@@ -224,7 +249,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"outputs": [
{
@@ -398,7 +423,7 @@
"[2 rows x 24 columns]"
]
},
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
@@ -412,7 +437,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 8,
"metadata": {},
"outputs": [
{
@@ -427,7 +452,7 @@
"Name: Life satisfaction, dtype: float64"
]
},
"execution_count": 7,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
@@ -452,7 +477,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 9,
"metadata": {},
"outputs": [
{
@@ -533,7 +558,7 @@
"Albania 3995.383 2010.0 "
]
},
"execution_count": 8,
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
@@ -548,7 +573,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 10,
"metadata": {},
"outputs": [
{
@@ -1922,7 +1947,7 @@
"[36 rows x 30 columns]"
]
},
"execution_count": 9,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
@@ -1935,7 +1960,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 11,
"metadata": {},
"outputs": [
{
@@ -1946,7 +1971,7 @@
"Name: United States, dtype: float64"
]
},
"execution_count": 10,
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
@@ -1957,7 +1982,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
@@ -1970,7 +1995,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 13,
"metadata": {},
"outputs": [
{
@@ -2007,7 +2032,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
@@ -2016,7 +2041,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 15,
"metadata": {},
"outputs": [
{
@@ -2051,16 +2076,6 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>France</th>\n",
" <td>37675.006</td>\n",
" <td>6.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>United States</th>\n",
" <td>55805.204</td>\n",
" <td>7.2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Hungary</th>\n",
" <td>12239.894</td>\n",
" <td>4.9</td>\n",
@@ -2071,10 +2086,20 @@
" <td>5.8</td>\n",
" </tr>\n",
" <tr>\n",
" <th>France</th>\n",
" <td>37675.006</td>\n",
" <td>6.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Australia</th>\n",
" <td>50961.865</td>\n",
" <td>7.3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>United States</th>\n",
" <td>55805.204</td>\n",
" <td>7.2</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
@@ -2082,14 +2107,14 @@
"text/plain": [
" GDP per capita Life satisfaction\n",
"Country \n",
"France 37675.006 6.5\n",
"United States 55805.204 7.2\n",
"Hungary 12239.894 4.9\n",
"Korea 27195.197 5.8\n",
"Australia 50961.865 7.3"
"France 37675.006 6.5\n",
"Australia 50961.865 7.3\n",
"United States 55805.204 7.2"
]
},
"execution_count": 14,
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
@@ -2100,7 +2125,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 16,
"metadata": {},
"outputs": [
{
@@ -2136,7 +2161,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 17,
"metadata": {},
"outputs": [
{
@@ -2145,7 +2170,7 @@
"(4.853052800266436, 4.911544589158483e-05)"
]
},
"execution_count": 16,
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
@@ -2162,7 +2187,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 18,
"metadata": {},
"outputs": [
{
@@ -2190,7 +2215,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 19,
"metadata": {},
"outputs": [
{
@@ -2206,7 +2231,7 @@
"5.96244744318815"
]
},
"execution_count": 18,
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
@@ -2220,7 +2245,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 20,
"metadata": {},
"outputs": [
{
@@ -2251,7 +2276,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 21,
"metadata": {},
"outputs": [
{
@@ -2312,7 +2337,7 @@
"Spain 25864.721 6.5"
]
},
"execution_count": 20,
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
@@ -2323,7 +2348,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 22,
"metadata": {},
"outputs": [
{
@@ -2332,7 +2357,7 @@
"5.766666666666667"
]
},
"execution_count": 21,
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
}
@@ -2343,7 +2368,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 23,
"metadata": {},
"outputs": [
{
@@ -2428,7 +2453,7 @@
"Luxembourg 101994.093 6.9"
]
},
"execution_count": 22,
"execution_count": 23,
"metadata": {},
"output_type": "execute_result"
}
@@ -2439,7 +2464,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 24,
"metadata": {},
"outputs": [],
"source": [
@@ -2456,7 +2481,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 25,
"metadata": {},
"outputs": [
{
@@ -2498,7 +2523,7 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 26,
"metadata": {
"scrolled": true
},
@@ -2546,7 +2571,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 27,
"metadata": {},
"outputs": [
{
@@ -2560,7 +2585,7 @@
"Name: Life satisfaction, dtype: float64"
]
},
"execution_count": 26,
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
@@ -2571,7 +2596,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 28,
"metadata": {},
"outputs": [
{
@@ -2688,7 +2713,7 @@
"Norway 74822.106 2015.0 "
]
},
"execution_count": 27,
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
@@ -2699,7 +2724,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 29,
"metadata": {
"scrolled": true
},