|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": { |
| 6 | + "collapsed": true, |
| 7 | + "pycharm": { |
| 8 | + "is_executing": false |
| 9 | + } |
| 10 | + }, |
| 11 | + "source": [ |
| 12 | + "# 전국 신규 민간 아파트 분양가격 동향\n", |
| 13 | + "\n", |
| 14 | + "* 2015년 10월부터 2018년 7월까지\n", |
| 15 | + "* 주택분양보증을 받아 분양한 전체 민간 신규아파트 분양가격 동향\n", |
| 16 | + "* https://www.data.go.kr/dataset/3035522/fileData.do\n", |
| 17 | + "* 이 튜토리얼은 아파트 분양가에 대한 분석보다 파이썬 데이터 분석 방법을 배우는데 목적을 두고 있습니다.\n", |
| 18 | + "* 이 튜토리얼에서는 파이썬 데이터분석 도구인 Pandas를 활용합니다. Pandas에 대한 간략한 소개는 다음의 판다스 10분 완성 문서를 참고해 주시면 좋습니다.\n", |
| 19 | + " * https://dataitgirls2.github.io/10minutes2pandas/\n", |
| 20 | + "* 또 시각화 도구로는 grammer of graphics 문법을 활용할 수 있는 plotnine을 사용합니다.\n", |
| 21 | + "* 이 튜토리얼은 데잇걸즈 2기와 파이콘 한국 2018에서 진행되기도 했습니다.\n", |
| 22 | + "* 다음의 경로에서 온라인 분석도구인 Colaboratory의 사본을 생성해서 직접 실행하는 실습을 진행해 보실 수도 있습니다.\n", |
| 23 | + " * https://goo.gl/jSr7WU\n", |
| 24 | + "* [데이터 다운로드](https://goo.gl/oJydAv)\n", |
| 25 | + "\n", |
| 26 | + "## !중요\n", |
| 27 | + "\n", |
| 28 | + "### 버전과 한글 폰트\n", |
| 29 | + "* [한글폰트 사용하기](http://corazzon.github.io/matplotlib_font_setting)" |
| 30 | + ] |
| 31 | + }, |
| 32 | + { |
| 33 | + "cell_type": "code", |
| 34 | + "execution_count": 1, |
| 35 | + "metadata": {}, |
| 36 | + "outputs": [], |
| 37 | + "source": [ |
| 38 | + "# 아래의 버전에 의존성이 있습니다. \n", |
| 39 | + "# 다음의 버전으로 설치해 주세요.\n", |
| 40 | + "# !pip install plotnine==0.5.0\n", |
| 41 | + "# !pip install pandas\n", |
| 42 | + "# !pip install folium==0.5.0\n", |
| 43 | + "# !pip install statsmodels -U\n", |
| 44 | + "# 시각화 도구 설치\n", |
| 45 | + "# !pip install plotnine\n", |
| 46 | + "# !pip install missingno" |
| 47 | + ] |
| 48 | + }, |
| 49 | + { |
| 50 | + "cell_type": "markdown", |
| 51 | + "metadata": {}, |
| 52 | + "source": [ |
| 53 | + "## 아나콘다 사용시\n", |
| 54 | + "* [Plotnine 설치](https://anaconda.org/conda-forge/plotnine)\n", |
| 55 | + "* [missingno 설치](https://anaconda.org/conda-forge/missingno)" |
| 56 | + ] |
| 57 | + }, |
| 58 | + { |
| 59 | + "cell_type": "code", |
| 60 | + "execution_count": 2, |
| 61 | + "metadata": {}, |
| 62 | + "outputs": [ |
| 63 | + { |
| 64 | + "name": "stdout", |
| 65 | + "output_type": "stream", |
| 66 | + "text": [ |
| 67 | + "Name: plotnine\r\n", |
| 68 | + "Version: 0.5.0\r\n", |
| 69 | + "Summary: A grammar of graphics for python\r\n", |
| 70 | + "Home-page: https://github.com/has2k1/plotnine\r\n", |
| 71 | + "Author: None\r\n", |
| 72 | + "Author-email: None\r\n", |
| 73 | + "License: GPL-2\r\n", |
| 74 | + "Location: /Users/kmpak/repo/data-analysis-note/venv/lib/python3.7/site-packages\r\n", |
| 75 | + "Requires: patsy, numpy, statsmodels, scipy, matplotlib, pandas, mizani, descartes\r\n", |
| 76 | + "Required-by: \r\n" |
| 77 | + ] |
| 78 | + } |
| 79 | + ], |
| 80 | + "source": [ |
| 81 | + "!pip show plotnine" |
| 82 | + ] |
| 83 | + }, |
| 84 | + { |
| 85 | + "cell_type": "code", |
| 86 | + "execution_count": 3, |
| 87 | + "metadata": {}, |
| 88 | + "outputs": [ |
| 89 | + { |
| 90 | + "name": "stdout", |
| 91 | + "output_type": "stream", |
| 92 | + "text": [ |
| 93 | + "Name: missingno\r\n", |
| 94 | + "Version: 0.4.2\r\n", |
| 95 | + "Summary: Missing data visualization module for Python.\r\n", |
| 96 | + "Home-page: https://github.com/ResidentMario/missingno\r\n", |
| 97 | + "Author: Aleksey Bilogur\r\n", |
| 98 | + "Author-email: [email protected]\r\n", |
| 99 | + "License: UNKNOWN\r\n", |
| 100 | + "Location: /Users/kmpak/repo/data-analysis-note/venv/lib/python3.7/site-packages\r\n", |
| 101 | + "Requires: matplotlib, seaborn, scipy, numpy\r\n", |
| 102 | + "Required-by: \r\n" |
| 103 | + ] |
| 104 | + } |
| 105 | + ], |
| 106 | + "source": [ |
| 107 | + "!pip show missingno" |
| 108 | + ] |
| 109 | + }, |
| 110 | + { |
| 111 | + "cell_type": "code", |
| 112 | + "execution_count": null, |
| 113 | + "metadata": {}, |
| 114 | + "outputs": [], |
| 115 | + "source": [] |
| 116 | + } |
| 117 | + ], |
| 118 | + "metadata": { |
| 119 | + "kernelspec": { |
| 120 | + "display_name": "Python 3", |
| 121 | + "language": "python", |
| 122 | + "name": "python3" |
| 123 | + }, |
| 124 | + "language_info": { |
| 125 | + "codemirror_mode": { |
| 126 | + "name": "ipython", |
| 127 | + "version": 3 |
| 128 | + }, |
| 129 | + "file_extension": ".py", |
| 130 | + "mimetype": "text/x-python", |
| 131 | + "name": "python", |
| 132 | + "nbconvert_exporter": "python", |
| 133 | + "pygments_lexer": "ipython3", |
| 134 | + "version": "3.7.4" |
| 135 | + } |
| 136 | + }, |
| 137 | + "nbformat": 4, |
| 138 | + "nbformat_minor": 1 |
| 139 | +} |
0 commit comments