Skip to content

Commit e71b624

Browse files
authored
Merge pull request #103 from gperdrizet/dev
Updated materials for class 11/12
2 parents 428f17f + 1fd1939 commit e71b624

File tree

6 files changed

+1705
-125
lines changed

6 files changed

+1705
-125
lines changed

notebooks/notebooks.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ units:
108108
file: "Lesson_12_linear_algebra_demo.ipynb"
109109
- name: "Statistical data types demo"
110110
file: "Lesson_12_statistics_demo.ipynb"
111-
- name: "Lesson 12 activity"
111+
- name: "Activity"
112112
file: "Lesson_12_activity.ipynb"
113+
- name: "Activity solution"
114+
file: "Lesson_12_activity_solution.ipynb"
113115
- name: "Anscombe's quartet demo"
114116
file: "anscombes_quartet.ipynb"
115117

@@ -121,3 +123,12 @@ units:
121123
file: "Lesson_13_demo.ipynb"
122124
- name: "Activity"
123125
file: "Lesson_13_activity.ipynb"
126+
- name: "Activity solution"
127+
file: "Lesson_13_activity_solution.ipynb"
128+
129+
- number: "14"
130+
title: "Advanced statistics"
131+
topics: "Confidence intervals, hypothesis testing"
132+
notebooks:
133+
- name: "Activity"
134+
file: "Lesson_14_activity.ipynb"

notebooks/unit2/lesson_12/Lesson_12_activity.ipynb

Lines changed: 6 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
},
3030
{
3131
"cell_type": "code",
32-
"execution_count": 1,
33-
"id": "8de14613",
32+
"execution_count": null,
33+
"id": "d8526de0",
3434
"metadata": {},
3535
"outputs": [],
3636
"source": [
@@ -39,110 +39,10 @@
3939
},
4040
{
4141
"cell_type": "code",
42-
"execution_count": 2,
42+
"execution_count": null,
4343
"id": "9eb120c9",
4444
"metadata": {},
45-
"outputs": [
46-
{
47-
"data": {
48-
"text/html": [
49-
"<div>\n",
50-
"<style scoped>\n",
51-
" .dataframe tbody tr th:only-of-type {\n",
52-
" vertical-align: middle;\n",
53-
" }\n",
54-
"\n",
55-
" .dataframe tbody tr th {\n",
56-
" vertical-align: top;\n",
57-
" }\n",
58-
"\n",
59-
" .dataframe thead th {\n",
60-
" text-align: right;\n",
61-
" }\n",
62-
"</style>\n",
63-
"<table border=\"1\" class=\"dataframe\">\n",
64-
" <thead>\n",
65-
" <tr style=\"text-align: right;\">\n",
66-
" <th></th>\n",
67-
" <th>weather_condition</th>\n",
68-
" <th>wind_strength</th>\n",
69-
" <th>temperature_c</th>\n",
70-
" <th>rainfall_inches</th>\n",
71-
" <th>humidity_percent</th>\n",
72-
" <th>pressure_hpa</th>\n",
73-
" </tr>\n",
74-
" </thead>\n",
75-
" <tbody>\n",
76-
" <tr>\n",
77-
" <th>0</th>\n",
78-
" <td>Sunny</td>\n",
79-
" <td>Light Breeze</td>\n",
80-
" <td>8.2</td>\n",
81-
" <td>0.13</td>\n",
82-
" <td>48.8</td>\n",
83-
" <td>1016.5</td>\n",
84-
" </tr>\n",
85-
" <tr>\n",
86-
" <th>1</th>\n",
87-
" <td>Snowy</td>\n",
88-
" <td>Gale</td>\n",
89-
" <td>1.6</td>\n",
90-
" <td>0.29</td>\n",
91-
" <td>89.6</td>\n",
92-
" <td>1009.4</td>\n",
93-
" </tr>\n",
94-
" <tr>\n",
95-
" <th>2</th>\n",
96-
" <td>Rainy</td>\n",
97-
" <td>Strong Wind</td>\n",
98-
" <td>7.3</td>\n",
99-
" <td>0.01</td>\n",
100-
" <td>100.0</td>\n",
101-
" <td>1003.3</td>\n",
102-
" </tr>\n",
103-
" <tr>\n",
104-
" <th>3</th>\n",
105-
" <td>Cloudy</td>\n",
106-
" <td>Light Breeze</td>\n",
107-
" <td>21.6</td>\n",
108-
" <td>0.62</td>\n",
109-
" <td>49.3</td>\n",
110-
" <td>1006.9</td>\n",
111-
" </tr>\n",
112-
" <tr>\n",
113-
" <th>4</th>\n",
114-
" <td>Sunny</td>\n",
115-
" <td>Calm</td>\n",
116-
" <td>12.0</td>\n",
117-
" <td>1.09</td>\n",
118-
" <td>38.6</td>\n",
119-
" <td>1016.0</td>\n",
120-
" </tr>\n",
121-
" </tbody>\n",
122-
"</table>\n",
123-
"</div>"
124-
],
125-
"text/plain": [
126-
" weather_condition wind_strength temperature_c rainfall_inches \\\n",
127-
"0 Sunny Light Breeze 8.2 0.13 \n",
128-
"1 Snowy Gale 1.6 0.29 \n",
129-
"2 Rainy Strong Wind 7.3 0.01 \n",
130-
"3 Cloudy Light Breeze 21.6 0.62 \n",
131-
"4 Sunny Calm 12.0 1.09 \n",
132-
"\n",
133-
" humidity_percent pressure_hpa \n",
134-
"0 48.8 1016.5 \n",
135-
"1 89.6 1009.4 \n",
136-
"2 100.0 1003.3 \n",
137-
"3 49.3 1006.9 \n",
138-
"4 38.6 1016.0 "
139-
]
140-
},
141-
"execution_count": 2,
142-
"metadata": {},
143-
"output_type": "execute_result"
144-
}
145-
],
45+
"outputs": [],
14646
"source": [
14747
"# Load the weather dataset\n",
14848
"url = 'https://gperdrizet.github.io/FSA_devops/assets/data/unit2/weather.csv'\n",
@@ -336,7 +236,7 @@
336236
],
337237
"metadata": {
338238
"kernelspec": {
339-
"display_name": "Python 3",
239+
"display_name": ".venv",
340240
"language": "python",
341241
"name": "python3"
342242
},
@@ -350,7 +250,7 @@
350250
"name": "python",
351251
"nbconvert_exporter": "python",
352252
"pygments_lexer": "ipython3",
353-
"version": "3.12.12"
253+
"version": "3.12.3"
354254
}
355255
},
356256
"nbformat": 4,

0 commit comments

Comments
 (0)