Skip to content

Commit e2c384b

Browse files
committed
Refine Korean translations, fix image paths, and update Quarto callouts
1 parent c52415f commit e2c384b

19 files changed

Lines changed: 200 additions & 178 deletions

mybook/_quarto.yml

Lines changed: 46 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,55 @@ project:
22
type: book
33

44
book:
5-
title: "Python Programming for Data Science"
5+
title: "데이터 과학을 위한 파이썬 프로그래밍"
66
author: "Tomas Beuzen"
77
repo-url: "https://github.com/TomasBeuzen/python-programming-for-data-science"
8-
chapters:
9-
- index.qmd
10-
- part: "Chapters"
11-
chapters:
12-
- chapters/chapter1-basics.ipynb
13-
- chapters/chapter2-loops-functions.ipynb
14-
- chapters/chapter3-tests-classes.ipynb
15-
- chapters/chapter4-style-scripts-imports.ipynb
16-
- chapters/chapter5-numpy.ipynb
17-
- chapters/chapter6-numpy-addendum.ipynb
18-
- chapters/chapter7-pandas.ipynb
19-
- chapters/chapter8-wrangling-basics.ipynb
20-
- chapters/chapter9-wrangling-advanced.ipynb
21-
- part: "Practice Exercises"
22-
chapters:
23-
- practice-exercises/chapter1-basics-practice.ipynb
24-
- practice-exercises/chapter2-loops-functions-practice.ipynb
25-
- practice-exercises/chapter3-tests-classes-practice.ipynb
26-
- practice-exercises/chapter4-style-scripts-imports-practice.ipynb
27-
- practice-exercises/chapter5-numpy-practice.ipynb
28-
- practice-exercises/chapter7-pandas-practice.ipynb
29-
- practice-exercises/chapter8-wrangling-basics-practice.ipynb
30-
- practice-exercises/chapter9-wrangling-advanced-practice.ipynb
8+
sidebar:
9+
style: "floating"
10+
search: true
11+
contents:
12+
- index.qmd
13+
- part: "강의 본문"
14+
chapters:
15+
- text: "1장: 파이썬 기초"
16+
file: chapters/chapter1-basics.ipynb
17+
- text: "2장: 반복문과 함수"
18+
file: chapters/chapter2-loops-functions.ipynb
19+
- text: "3장: 단위 테스트와 클래스"
20+
file: chapters/chapter3-tests-classes.ipynb
21+
- text: "4장: 스타일 가이드, 스크립트, 임포트"
22+
file: chapters/chapter4-style-scripts-imports.ipynb
23+
- text: "5장: NumPy 기초"
24+
file: chapters/chapter5-numpy.ipynb
25+
- text: "6장: NumPy 추가 내용"
26+
file: chapters/chapter6-numpy-addendum.ipynb
27+
- text: "7장: Pandas 기초"
28+
file: chapters/chapter7-pandas.ipynb
29+
- text: "8장: 데이터 랭글링 기초"
30+
file: chapters/chapter8-wrangling-basics.ipynb
31+
- text: "9장: 데이터 랭글링 심화"
32+
file: chapters/chapter9-wrangling-advanced.ipynb
33+
- part: "연습 문제"
34+
chapters:
35+
- text: "1장 연습 문제"
36+
file: practice-exercises/chapter1-basics-practice.ipynb
37+
- text: "2장 연습 문제"
38+
file: practice-exercises/chapter2-loops-functions-practice.ipynb
39+
- text: "3장 연습 문제"
40+
file: practice-exercises/chapter3-tests-classes-practice.ipynb
41+
- text: "4장 연습 문제"
42+
file: practice-exercises/chapter4-style-scripts-imports-practice.ipynb
43+
- text: "5장 연습 문제"
44+
file: practice-exercises/chapter5-numpy-practice.ipynb
45+
- text: "7장 연습 문제"
46+
file: practice-exercises/chapter7-pandas-practice.ipynb
47+
- text: "8장 연습 문제"
48+
file: practice-exercises/chapter8-wrangling-basics-practice.ipynb
49+
- text: "9장 연습 문제"
50+
file: practice-exercises/chapter9-wrangling-advanced-practice.ipynb
3151

3252
format:
3353
html:
3454
theme: cosmo
55+
number-sections: false
56+
code-fold: true

mybook/chapters/chapter1-basics.ipynb

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"![](../docs/banner.png)"
7+
"![](../images/banner.png)"
88
]
99
},
1010
{
@@ -20,17 +20,17 @@
2020
"toc": true
2121
},
2222
"source": [
23-
"<h2>장 개요<span class=\"tocSkip\"></span></h2>\n",
24-
"<시간>\n",
25-
"<div class=\"toc\"><ul class=\"toc-item\"><li><span><a href=\"#1.-Introduction\" data-toc-modified-id=\"1.-Introduction-1\">1. 소개</a></span></li><li><span><a href=\"#2.-Basic-Python-Data-Types\" data-toc-modified-id=\"2.-Basic-Python-Data-Types-2\">2. 기본 Python 데이터 유형</a></span></li><li><span><a href=\"#3.-Lists-and-Tuples\" data-toc-modified-id=\"3.-Lists-and-Tuples-3\">3. 목록 및 튜플</a></span></li><li><span><a href=\"#4.-String-Methods\" data-toc-modified-id=\"4.-String-Methods-4\">4. 문자열 메소드</a></span></li><li><span><a href=\"#5.-Dictionaries\" data-toc-modified-id=\"5.-Dictionaries-5\">5. 사전</a></span></li><li><span><a href=\"#6.-Empties\" data-toc-modified-id=\"6.-Empties-6\">6. 비어 있음</a></span></li><li><span><a href=\"#7.-Conditionals\" data-toc-modified-id=\"7.-Conditionals-7\">7. 조건부</a></span></li></ul></div>"
23+
"<h2>장 구성<span class=\"tocSkip\"></span></h2>\n",
24+
"<hr>\n",
25+
"<div class=\"toc\"><ul class=\"toc-item\"><li><span><a href=\"#1.-Introduction\" data-toc-modified-id=\"1.-Introduction-1\">1. 소개</a></span></li><li><span><a href=\"#2.-Basic-Python-Data-Types\" data-toc-modified-id=\"2.-Basic-Python-Data-Types-2\">2. 기본 파이썬 데이터 타입</a></span></li><li><span><a href=\"#3.-Lists-and-Tuples\" data-toc-modified-id=\"3.-Lists-and-Tuples-3\">3. 리스트와 튜플</a></span></li><li><span><a href=\"#4.-String-Methods\" data-toc-modified-id=\"4.-String-Methods-4\">4. 문자열 메서드</a></span></li><li><span><a href=\"#5.-Dictionaries\" data-toc-modified-id=\"5.-Dictionaries-5\">5. 딕셔너리</a></span></li><li><span><a href=\"#6.-Empties\" data-toc-modified-id=\"6.-Empties-6\">6. 빈 객체들</a></span></li><li><span><a href=\"#7.-Conditionals\" data-toc-modified-id=\"7.-Conditionals-7\">7. 조건문</a></span></li></ul></div>"
2626
]
2727
},
2828
{
2929
"cell_type": "markdown",
3030
"metadata": {},
3131
"source": [
32-
"## 학습 목표\n",
33-
"<시간>"
32+
"## 학습 목표\n",
33+
"<hr>"
3434
]
3535
},
3636
{
@@ -40,19 +40,19 @@
4040
"- `int`, `float`, `string`, `list`, `dict`, `tuple` 등과 같은 표준 Python 데이터 유형을 생성, 설명 및 구별합니다.\n",
4141
"- 숫자 값에 대해 `+`, `-`, `*`, `**`와 같은 산술 연산을 수행합니다.\n",
4242
"- `.lower()`, `.split()`과 같은 기본 문자열 작업을 수행하여 문자열을 조작합니다.\n",
43-
"- 비교 연산자 연산(`==`, `!=`, `>` 등)과 부울 연산자(`and`, `or`, `not`)를 사용하여 부울 값을 계산합니다.\n",
43+
"- 비교 연산자 연산(`==`, `!=`, `>` 등)과 부울 연산자(`and`, `or`, `not`)를 사용하여 불리언 값을 계산합니다.\n",
4444
"- 튜플, 목록, 문자열 및 사전에 값을 할당하고, 인덱스하고, 슬라이스하고, 부분 집합을 만듭니다.\n",
4545
"- `if`, `elif`, `else`를 사용하여 조건문을 작성합니다.\n",
4646
"- 들여쓰기 수준에 따라 코드 블록을 식별합니다.\n",
47-
"- `list`와 같은 변경 가능한 객체와 `tuple`과 같은 변경 불가능한 객체의 차이점을 설명하세요."
47+
"- `list`와 같은 가변(mutable) 객체와 `tuple`과 같은 불변(immutable) 객체의 차이점을 설명하세요."
4848
]
4949
},
5050
{
5151
"cell_type": "markdown",
5252
"metadata": {},
5353
"source": [
5454
"## 1. 소개\n",
55-
"<시간>"
55+
"<hr>"
5656
]
5757
},
5858
{
@@ -70,8 +70,8 @@
7070
"cell_type": "markdown",
7171
"metadata": {},
7272
"source": [
73-
"## 2. 기본 Python 데이터 유형\n",
74-
"<시간>"
73+
"## 2. 기본 파이썬 데이터 타입\n",
74+
"<hr>"
7575
]
7676
},
7777
{
@@ -86,9 +86,9 @@
8686
"\n",
8787
"다음에서 수정된 이미지: [medium.com](https://www.google.com/url?sa=i&url=https%3A%2F%2Fmedium.com%2F%40stevenpcurtis.sc%2Fwhat-is-a-variable-3447ac133 1b9&psig=AOvVaw3YbYfgb7XFOJ_sHP5eliob&ust=1595365663851000&source=images&cd=vfe&ved=0CA0QjhxqFwoTCMi8nrfe3OoCFQAAAAAdAAAAABAZ)\n",
8888
"\n",
89-
"``{팁}\n",
90-
"표준 내장 Python 데이터 유형에 대한 요약은 [Python 3 문서](https://docs.python.org/3/library/stdtypes.html)를 참조하세요.\n",
91-
"````"
89+
"::: {.callout-tip}\n",
90+
"표준 내장 파이썬 데이터 타입에 대한 요약은 [파이썬 3 문서](https://docs.python.org/3/library/stdtypes.html)를 참고하세요.\n",
91+
":::"
9292
]
9393
},
9494
{
@@ -101,7 +101,7 @@
101101
"| :--------- | :--------- | :--------------- | :------------------------------- | :---------------------------- |\n",
102102
"| 정수 | `정수` | 숫자 유형 | 양수/음수 정수 | `42` |\n",
103103
"| 부동 소수점 수 | `플로트` | 숫자 유형 | 십진수 형식의 실수 | `3.14159` |\n",
104-
"| 부울 | `부울` | 부울 값 | 참 또는 거짓 | '사실' |\n",
104+
"| 부울 | `부울` | 불리언 값 | 참 또는 거짓 | '사실' |\n",
105105
"| 문자열 | `str` | 시퀀스 유형 | 텍스트 | ``치즈버거를 먹을 수 있나요?'' |\n",
106106
"| 목록 | `목록` | 시퀀스 유형 | 개체 모음 - 변경 가능하고 순서가 지정됨 | `['알리', '신이', '미리암']` |\n",
107107
"| 튜플 | `튜플` | 시퀀스 유형 | 개체 모음 - 불변 및 순서 | `('목요일', 2018년 6월 9일)` |\n",
@@ -252,7 +252,7 @@
252252
"| `*` | 곱셈 |\n",
253253
"| `/` | 부문 |\n",
254254
"| `**` | 지수 |\n",
255-
"| `//` | 정수 나누기/바닥 나누기 |\n",
255+
"| `//` | 정수 나눗셈(내림 나눗셈) |\n",
256256
"| `%` | 모듈로 |\n",
257257
"\n",
258258
"이러한 연산자를 숫자 유형에 적용하고 결과를 관찰해 보겠습니다."
@@ -590,9 +590,9 @@
590590
"\n",
591591
"텍스트는 '문자열'이라는 데이터 유형으로 저장됩니다. 문자열은 일련의 문자로 생각할 수 있습니다. \n",
592592
"\n",
593-
"``{팁}\n",
593+
"::: {.callout-tip}\n",
594594
"실제로 이는 일련의 유니코드 코드 포인트입니다. 관심이 있으시면 유니코드에 대한 [훌륭한 블로그 게시물](https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely- positively-must-know-about-unicode-and-character-sets-no-excuses/)을 참조하세요.\n",
595-
"````\n",
595+
":::\n",
596596
"\n",
597597
"문자열은 다음 중 하나로 묶인 문자로 작성됩니다.\n",
598598
" - 작은따옴표(예: `'Hello'`) \n",
@@ -1189,9 +1189,9 @@
11891189
"cell_type": "markdown",
11901190
"metadata": {},
11911191
"source": [
1192-
"``{참고}\n",
1192+
"::: {.callout-note}\n",
11931193
"Python에는 `&` 및 `|`와 같은 [비트 연산자](https://wiki.python.org/moin/BitwiseOperators)도 있습니다. 비트 연산자는 문자 그대로 두 정수의 비트를 비교합니다. 이는 이 과정의 범위를 벗어나지만 실제로 작동하는 모습을 보여주기 위해 아래에 코드 조각을 포함시켰습니다.\n",
1194-
"````"
1194+
":::"
11951195
]
11961196
},
11971197
{
@@ -1403,7 +1403,7 @@
14031403
"metadata": {},
14041404
"source": [
14051405
"## 3. 리스트와 튜플\n",
1406-
"<시간>"
1406+
"<hr>"
14071407
]
14081408
},
14091409
{
@@ -2345,8 +2345,8 @@
23452345
"cell_type": "markdown",
23462346
"metadata": {},
23472347
"source": [
2348-
"## 4. 문자열 메소드\n",
2349-
"<시간>"
2348+
"## 4. 문자열 메서드\n",
2349+
"<hr>"
23502350
]
23512351
},
23522352
{
@@ -2632,8 +2632,8 @@
26322632
"cell_type": "markdown",
26332633
"metadata": {},
26342634
"source": [
2635-
"## 5. 사전\n",
2636-
"<시간>"
2635+
"## 5. 딕셔너리\n",
2636+
"<hr>"
26372637
]
26382638
},
26392639
{
@@ -3110,8 +3110,8 @@
31103110
"cell_type": "markdown",
31113111
"metadata": {},
31123112
"source": [
3113-
"## 7. 조건부\n",
3114-
"<시간>"
3113+
"## 7. 조건문\n",
3114+
"<hr>"
31153115
]
31163116
},
31173117
{
@@ -3288,9 +3288,9 @@
32883288
"- `True` 값: `False` 값을 갖는 `bool` 객체이거나 `len()` == 0을 갖지 않는 한 모든 객체는 `True`를 반환합니다.\n",
32893289
"- `False` 값: `None`, `False`, `0`, 빈 시퀀스 및 컬렉션: `''`, `()`, `[]`, `{}`, `set()`\n",
32903290
"\n",
3291-
"``{팁}\n",
3291+
"::: {.callout-tip}\n",
32923292
"[여기 문서](https://docs.python.org/3/library/stdtypes.html#truth-value-testing)에서 자세히 알아보세요.\n",
3293-
"````"
3293+
":::"
32943294
]
32953295
},
32963296
{

mybook/chapters/chapter2-loops-functions.ipynb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"![](../docs/banner.png)"
7+
"![](../images/banner.png)"
88
]
99
},
1010
{
@@ -20,17 +20,17 @@
2020
"toc": true
2121
},
2222
"source": [
23-
"<h2>장 개요<span class=\"tocSkip\"></span></h2>\n",
24-
"<시간>\n",
23+
"<h2>장 구성<span class=\"tocSkip\"></span></h2>\n",
24+
"<hr>\n",
2525
"<div class=\"toc\"><ul class=\"toc-item\"><li><span><a href=\"#1.-for-Loops\" data-toc-modified-id=\"1.-for-Loops-1\">1. <code>for</code> 루프</a></span></li><li><span><a href=\"#2.-while-loops\" data-toc-modified-id=\"2.-while-loops-2\">2. <code>while</code> 루프</a></span></li><li><span><a href=\"#3.-Comprehensions\" data-toc-modified-id=\"3.-Comprehensions-3\">3. 이해</a></span></li><li><span><a href=\"#4.-try-/-excess\" data-toc-modified-id=\"4.-try-/-just-4\">4. <code>시도</code> / <code>제외</code></a></span></li><li><span><a href=\"#5.-Functions\" data-toc-modified-id=\"5.-Functions-5\">5. 함수</a></span></li><li><span><a href=\"#6.-Functions-as--a-data-type\" data-toc-modified-id=\"6.-Functions-as--a-data-type-6\">6. 데이터 유형으로서의 기능</a></span></li><li><span><a href=\"#7.-Anonymous-functions\" data-toc-modified-id=\"7.-Anonymous-functions-7\">7. 익명 함수</a></span></li><li><span><a href=\"#8.-DRY-principle,-designing-good-functions\" data-toc-modified-id=\"8.-DRY-principle,-designing-good-functions-8\">8. DRY 원칙, 좋은 기능 설계</a></span></li><li><span><a href=\"#9.-Generators\" data-toc-modified-id=\"9.-Generators-9\">9. 생성기</a></span></li><li><span><a href=\"#10.-Docstrings\" data-toc-modified-id=\"10.-Docstrings-10\">10. 독스트링</a></span></li></ul></div>"
2626
]
2727
},
2828
{
2929
"cell_type": "markdown",
3030
"metadata": {},
3131
"source": [
32-
"## 학습 목표\n",
33-
"<시간>"
32+
"## 학습 목표\n",
33+
"<hr>"
3434
]
3535
},
3636
{
@@ -54,7 +54,7 @@
5454
"metadata": {},
5555
"source": [
5656
"## 1. `for` 루프\n",
57-
"<시간>"
57+
"<hr>"
5858
]
5959
},
6060
{
@@ -455,7 +455,7 @@
455455
"metadata": {},
456456
"source": [
457457
"## 2. `while` 루프\n",
458-
"<시간>"
458+
"<hr>"
459459
]
460460
},
461461
{
@@ -632,7 +632,7 @@
632632
"metadata": {},
633633
"source": [
634634
"## 3. 이해\n",
635-
"<시간>"
635+
"<hr>"
636636
]
637637
},
638638
{
@@ -866,7 +866,7 @@
866866
"metadata": {},
867867
"source": [
868868
"## 4. `시도` / `제외`\n",
869-
"<시간>"
869+
"<hr>"
870870
]
871871
},
872872
{
@@ -1262,7 +1262,7 @@
12621262
"metadata": {},
12631263
"source": [
12641264
"## 5. 기능\n",
1265-
"<시간>"
1265+
"<hr>"
12661266
]
12671267
},
12681268
{
@@ -2126,7 +2126,7 @@
21262126
"metadata": {},
21272127
"source": [
21282128
"## 6. 데이터 유형으로서의 기능\n",
2129-
"<시간>"
2129+
"<hr>"
21302130
]
21312131
},
21322132
{
@@ -2242,7 +2242,7 @@
22422242
"metadata": {},
22432243
"source": [
22442244
"## 7. 익명 함수\n",
2245-
"<시간>"
2245+
"<hr>"
22462246
]
22472247
},
22482248
{
@@ -2381,7 +2381,7 @@
23812381
"metadata": {},
23822382
"source": [
23832383
"## 8. DRY 원칙, 좋은 기능을 디자인하다\n",
2384-
"<시간>"
2384+
"<hr>"
23852385
]
23862386
},
23872387
{
@@ -2676,7 +2676,7 @@
26762676
"metadata": {},
26772677
"source": [
26782678
"## 9. 발전기\n",
2679-
"<시간>"
2679+
"<hr>"
26802680
]
26812681
},
26822682
{
@@ -3117,7 +3117,7 @@
31173117
"metadata": {},
31183118
"source": [
31193119
"## 1. 소개\n",
3120-
"<시간>"
3120+
"<hr>"
31213121
]
31223122
},
31233123
{

0 commit comments

Comments
 (0)