|
10 | 10 | },
|
11 | 11 | {
|
12 | 12 | "cell_type": "code",
|
13 |
| - "execution_count": 2, |
| 13 | + "execution_count": 1, |
14 | 14 | "id": "d3aa7606-0f50-4f05-b104-ad4521c80406",
|
15 | 15 | "metadata": {
|
16 | 16 | "editable": true,
|
|
22 | 22 | ]
|
23 | 23 | },
|
24 | 24 | "outputs": [
|
25 |
| - { |
26 |
| - "data": { |
27 |
| - "text/html": [ |
28 |
| - "<div>\n", |
29 |
| - "<style scoped>\n", |
30 |
| - " .dataframe tbody tr th:only-of-type {\n", |
31 |
| - " vertical-align: middle;\n", |
32 |
| - " }\n", |
33 |
| - "\n", |
34 |
| - " .dataframe tbody tr th {\n", |
35 |
| - " vertical-align: top;\n", |
36 |
| - " }\n", |
37 |
| - "\n", |
38 |
| - " .dataframe thead th {\n", |
39 |
| - " text-align: right;\n", |
40 |
| - " }\n", |
41 |
| - "</style>\n", |
42 |
| - "<table border=\"1\" class=\"dataframe\">\n", |
43 |
| - " <thead>\n", |
44 |
| - " <tr style=\"text-align: right;\">\n", |
45 |
| - " <th></th>\n", |
46 |
| - " <th>Course Name</th>\n", |
47 |
| - " <th>Start Date</th>\n", |
48 |
| - " <th>End Date</th>\n", |
49 |
| - " <th>Course Date</th>\n", |
50 |
| - " <th>MS Form Signup</th>\n", |
51 |
| - " </tr>\n", |
52 |
| - " </thead>\n", |
53 |
| - " <tbody>\n", |
54 |
| - " <tr>\n", |
55 |
| - " <th>4</th>\n", |
56 |
| - " <td>Regression Analysis in R: Adapting to Varied D...</td>\n", |
57 |
| - " <td>2024-12-03</td>\n", |
58 |
| - " <td>2025-01-07</td>\n", |
59 |
| - " <td>13th January 2025 1-4pm (Online only)</td>\n", |
60 |
| - " <td>https://forms.office.com/e/QK4qbskQKe</td>\n", |
61 |
| - " </tr>\n", |
62 |
| - " <tr>\n", |
63 |
| - " <th>0</th>\n", |
64 |
| - " <td>Introduction to Python</td>\n", |
65 |
| - " <td>2024-12-03</td>\n", |
66 |
| - " <td>2025-01-11</td>\n", |
67 |
| - " <td>17th/24th January 2025 10am-1pm (In-person only)</td>\n", |
68 |
| - " <td>https://forms.office.com/e/YAxvuE5dG5</td>\n", |
69 |
| - " </tr>\n", |
70 |
| - " <tr>\n", |
71 |
| - " <th>11</th>\n", |
72 |
| - " <td>Computational Thinking</td>\n", |
73 |
| - " <td>2024-12-03</td>\n", |
74 |
| - " <td>2025-01-22</td>\n", |
75 |
| - " <td>28th January/4th February 2025 10am-1pm (In-pe...</td>\n", |
76 |
| - " <td>https://forms.office.com/e/HBxtMLxRZr</td>\n", |
77 |
| - " </tr>\n", |
78 |
| - " <tr>\n", |
79 |
| - " <th>10</th>\n", |
80 |
| - " <td>Introduction to Unix</td>\n", |
81 |
| - " <td>2024-12-03</td>\n", |
82 |
| - " <td>2025-01-30</td>\n", |
83 |
| - " <td>5th/12th February 2025 1-4pm (Penryn Campus only)</td>\n", |
84 |
| - " <td>https://forms.office.com/e/6nrfXabJSH</td>\n", |
85 |
| - " </tr>\n", |
86 |
| - " <tr>\n", |
87 |
| - " <th>1</th>\n", |
88 |
| - " <td>Python for Data Analysis</td>\n", |
89 |
| - " <td>2024-12-03</td>\n", |
90 |
| - " <td>2025-01-31</td>\n", |
91 |
| - " <td>6th/13th February 2025 1-4pm (Online only)</td>\n", |
92 |
| - " <td>https://forms.office.com/e/rJRBxYnxKA</td>\n", |
93 |
| - " </tr>\n", |
94 |
| - " <tr>\n", |
95 |
| - " <th>2</th>\n", |
96 |
| - " <td>Introduction to R</td>\n", |
97 |
| - " <td>2024-12-03</td>\n", |
98 |
| - " <td>2025-02-19</td>\n", |
99 |
| - " <td>25th February/4th March/11th March 2025 10am-1...</td>\n", |
100 |
| - " <td>https://forms.office.com/e/3BUKkXNELt</td>\n", |
101 |
| - " </tr>\n", |
102 |
| - " <tr>\n", |
103 |
| - " <th>8</th>\n", |
104 |
| - " <td>Introduction to Version Control</td>\n", |
105 |
| - " <td>2024-12-03</td>\n", |
106 |
| - " <td>2025-02-22</td>\n", |
107 |
| - " <td>28th February/7th March 2025 10am-1pm (Online ...</td>\n", |
108 |
| - " <td>https://forms.office.com/e/YCB5kkGrws</td>\n", |
109 |
| - " </tr>\n", |
110 |
| - " <tr>\n", |
111 |
| - " <th>15</th>\n", |
112 |
| - " <td>Introduction to Machine Learning</td>\n", |
113 |
| - " <td>2024-12-03</td>\n", |
114 |
| - " <td>2025-03-08</td>\n", |
115 |
| - " <td>14th/21st March 2025 10am-1pm (In-person only)</td>\n", |
116 |
| - " <td>NaN</td>\n", |
117 |
| - " </tr>\n", |
118 |
| - " <tr>\n", |
119 |
| - " <th>9</th>\n", |
120 |
| - " <td>Intermediate Version Control</td>\n", |
121 |
| - " <td>2024-12-03</td>\n", |
122 |
| - " <td>2025-03-11</td>\n", |
123 |
| - " <td>17th/24th March 2025 1-4pm (Online only)</td>\n", |
124 |
| - " <td>NaN</td>\n", |
125 |
| - " </tr>\n", |
126 |
| - " <tr>\n", |
127 |
| - " <th>7</th>\n", |
128 |
| - " <td>Introduction to HPC</td>\n", |
129 |
| - " <td>2024-12-03</td>\n", |
130 |
| - " <td>2025-03-15</td>\n", |
131 |
| - " <td>21st/28th March 2025 1.15-4.15pm (In-person only)</td>\n", |
132 |
| - " <td>NaN</td>\n", |
133 |
| - " </tr>\n", |
134 |
| - " <tr>\n", |
135 |
| - " <th>3</th>\n", |
136 |
| - " <td>Introduction to Regression with R</td>\n", |
137 |
| - " <td>2024-12-03</td>\n", |
138 |
| - " <td>2025-03-22</td>\n", |
139 |
| - " <td>28th March 2025 10am-1pm (In-person only)</td>\n", |
140 |
| - " <td>NaN</td>\n", |
141 |
| - " </tr>\n", |
142 |
| - " </tbody>\n", |
143 |
| - "</table>\n", |
144 |
| - "</div>" |
145 |
| - ], |
146 |
| - "text/plain": [ |
147 |
| - " Course Name Start Date End Date \\\n", |
148 |
| - "4 Regression Analysis in R: Adapting to Varied D... 2024-12-03 2025-01-07 \n", |
149 |
| - "0 Introduction to Python 2024-12-03 2025-01-11 \n", |
150 |
| - "11 Computational Thinking 2024-12-03 2025-01-22 \n", |
151 |
| - "10 Introduction to Unix 2024-12-03 2025-01-30 \n", |
152 |
| - "1 Python for Data Analysis 2024-12-03 2025-01-31 \n", |
153 |
| - "2 Introduction to R 2024-12-03 2025-02-19 \n", |
154 |
| - "8 Introduction to Version Control 2024-12-03 2025-02-22 \n", |
155 |
| - "15 Introduction to Machine Learning 2024-12-03 2025-03-08 \n", |
156 |
| - "9 Intermediate Version Control 2024-12-03 2025-03-11 \n", |
157 |
| - "7 Introduction to HPC 2024-12-03 2025-03-15 \n", |
158 |
| - "3 Introduction to Regression with R 2024-12-03 2025-03-22 \n", |
159 |
| - "\n", |
160 |
| - " Course Date \\\n", |
161 |
| - "4 13th January 2025 1-4pm (Online only) \n", |
162 |
| - "0 17th/24th January 2025 10am-1pm (In-person only) \n", |
163 |
| - "11 28th January/4th February 2025 10am-1pm (In-pe... \n", |
164 |
| - "10 5th/12th February 2025 1-4pm (Penryn Campus only) \n", |
165 |
| - "1 6th/13th February 2025 1-4pm (Online only) \n", |
166 |
| - "2 25th February/4th March/11th March 2025 10am-1... \n", |
167 |
| - "8 28th February/7th March 2025 10am-1pm (Online ... \n", |
168 |
| - "15 14th/21st March 2025 10am-1pm (In-person only) \n", |
169 |
| - "9 17th/24th March 2025 1-4pm (Online only) \n", |
170 |
| - "7 21st/28th March 2025 1.15-4.15pm (In-person only) \n", |
171 |
| - "3 28th March 2025 10am-1pm (In-person only) \n", |
172 |
| - "\n", |
173 |
| - " MS Form Signup \n", |
174 |
| - "4 https://forms.office.com/e/QK4qbskQKe \n", |
175 |
| - "0 https://forms.office.com/e/YAxvuE5dG5 \n", |
176 |
| - "11 https://forms.office.com/e/HBxtMLxRZr \n", |
177 |
| - "10 https://forms.office.com/e/6nrfXabJSH \n", |
178 |
| - "1 https://forms.office.com/e/rJRBxYnxKA \n", |
179 |
| - "2 https://forms.office.com/e/3BUKkXNELt \n", |
180 |
| - "8 https://forms.office.com/e/YCB5kkGrws \n", |
181 |
| - "15 NaN \n", |
182 |
| - "9 NaN \n", |
183 |
| - "7 NaN \n", |
184 |
| - "3 NaN " |
185 |
| - ] |
186 |
| - }, |
187 |
| - "metadata": {}, |
188 |
| - "output_type": "display_data" |
189 |
| - }, |
190 | 25 | {
|
191 | 26 | "data": {
|
192 | 27 | "text/markdown": [
|
|
234 | 69 | "filtered_courses_df = filtered_courses_df[filtered_courses_df['End Date'] > today]\n",
|
235 | 70 | "filtered_courses_df = filtered_courses_df[filtered_courses_df['Start Date'] <= today]\n",
|
236 | 71 | "filtered_courses_df = filtered_courses_df.sort_values(by=\"End Date\")\n",
|
237 |
| - "display(filtered_courses_df)\n", |
238 | 72 | "\n",
|
239 | 73 | "# Function to generate markdown text based on course details\n",
|
240 | 74 | "def generate_markdown(row):\n",
|
|
0 commit comments