Skip to content

Commit eae0b9b

Browse files
committed
final cleanup refactor into files and sections
1 parent 93813fe commit eae0b9b

11 files changed

+1311
-1449
lines changed

notebooks/Background.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"<a id=\"computers\"></a>\n",
1414
"# Computers\n",
1515
"\n",
16-
"Some problems can be abstracted to be represented mathematically by *data*, such as measures, counts, facts, or labels, provided a method can be created to sove problems using that data.\n",
16+
"Computers are suited to solve problems can be abstracted to be represented mathematically by *data*, such as measures, counts, facts, or labels, provided a method can be created to sove problems using that data.\n",
17+
"*Programs* encode methods to solve problems.\n",
18+
"\n",
1719
"Computers process data exceptionally faster and more accurately than humans.\n",
1820
"\n",
1921
"Certain problems are especially appropriate to solve using computers.\n",
20-
"Programs encode methods to solve problems.\n",
2122
"\n",
2223
"## Finance \n",
2324
"\n",
@@ -33,9 +34,9 @@
3334
"\n",
3435
"## Communications\n",
3536
"\n",
36-
"Phone, image, and Internet data are transferred globally every moment.\n",
37+
"Phone, image, and Internet data are transferred constantly.\n",
3738
"Computers store and route information between destinations.\n",
38-
"Communications has transformed modern life\n",
39+
"Data communications has transformed life.\n",
3940
"\n",
4041
"<a id=\"python\"></a>\n",
4142
"# Python\n",

notebooks/data-cleaning.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"id": "5c1972f0-f796-4739-a904-935c9e5ca526",
66
"metadata": {},
77
"source": [
8-
"## Data Cleaning\n",
8+
"# Data Cleaning example\n",
99
"\n",
1010
"A common task in Data Science is cleaning raw data to make it usable for further analysis.\n",
1111
"Following are types of data that cleaning will correct or remove.\n",
@@ -23,7 +23,7 @@
2323
"id": "f2ba2576-ab6a-42e1-b43e-ffa7e4eca9f3",
2424
"metadata": {},
2525
"source": [
26-
"### Removing duplicate lines in a file"
26+
"## Removing duplicate lines in a file"
2727
]
2828
},
2929
{
@@ -111,7 +111,7 @@
111111
"id": "5db520f6-9b42-4e53-9a7d-465d40de2b3f",
112112
"metadata": {},
113113
"source": [
114-
"### Another way to remove duplicate lines\n",
114+
"## Another way to remove duplicate lines\n",
115115
"\n",
116116
"If the purpose is to remove duplicates and the order of the lines do not matter, this is another way to remove duplicate lines. \n",
117117
"A dictionary has only unique keys.\n",
@@ -158,7 +158,7 @@
158158
"id": "6066c191-b6ca-4028-ac47-4568c236cfd9",
159159
"metadata": {},
160160
"source": [
161-
"### Fixing inconsistent codes\n",
161+
"## Fixing inconsistent codes\n",
162162
"\n",
163163
"Another data cleaning task is replacing inconsistent spelling with one recognizable value.\n",
164164
"\"Not applicable\" may be used as \"NA\" or \"N/A\". \n",

notebooks/data-structures.ipynb

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
"id": "e52d125d-969a-4112-8a30-94d239c1e2df",
66
"metadata": {},
77
"source": [
8-
"## Data Structures\n",
9-
"Composite data or *data structures* simplifies much of programming. \n",
10-
"Knowing how to program with algorithms using composite data is one of the basic skills of programming. \n",
11-
"\n",
12-
"### Sorting a list<a name=\"algorithm_sorting\"></a>\n",
8+
"# Data structures example \n",
139
"The `sort` function can sort lists, but understanding how it works is a good example for programming.\n",
1410
"Suppose we have a list we want to sort from lowest to highest."
1511
]
@@ -157,22 +153,6 @@
157153
"We would change the comparison `L[j] < L[j-1]` to our own comparison to test if an item is *less* than another. \n",
158154
"We saw how `for` loops can control the bubbling, and that a small program can sort a list of any size."
159155
]
160-
},
161-
{
162-
"cell_type": "markdown",
163-
"id": "12d339e2",
164-
"metadata": {},
165-
"source": [
166-
"Trees"
167-
]
168-
},
169-
{
170-
"cell_type": "markdown",
171-
"id": "c13d5c5f",
172-
"metadata": {},
173-
"source": [
174-
"Graphs"
175-
]
176156
}
177157
],
178158
"metadata": {

notebooks/data.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"[Numbers](./numbers.ipynb) \n",
2727
"[Strings](./strings.ipynb) \n",
2828
"[Lists](./lists.ipynb) \n",
29-
"[Dictionaries](./dictionaries.ipynb) "
29+
"[Dictionaries](./dictionaries.ipynb) \n",
30+
"[Example](./data-structures.ipynb)"
3031
]
3132
},
3233
{

0 commit comments

Comments
 (0)