Skip to content

Commit 97d252d

Browse files
Merge pull request #151 from coding-for-reproducible-research/course-history
reverse the ordering of the rows of the historical courses
2 parents ed9fc26 + a3dc912 commit 97d252d

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

cfrr_program_details/courses_overview.ipynb

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
},
9090
{
9191
"cell_type": "code",
92-
"execution_count": 1,
92+
"execution_count": 3,
9393
"id": "0a814add-f545-4663-8b06-39c40b636509",
9494
"metadata": {
9595
"editable": true,
@@ -109,29 +109,26 @@
109109
"<tr>\n",
110110
"<th>Course Name</th>\n",
111111
"<th>Course Info</th>\n",
112-
"<th>Course Leader</th>\n",
113-
"<th>Course Helpers</th>\n",
114-
"<th>Course Developers</th>\n",
115112
"</tr>\n",
116-
"<tr><td>Introduction to UNIX </td><td>October 2023</td></tr>\n",
117-
"<tr><td>Introduction to Python</td><td>November 2023</td></tr>\n",
118-
"<tr><td>Introduction to julia</td><td>November/December 2023</td></tr>\n",
119-
"<tr><td>Introduction to HPC and ISCA</td><td>November 2023</td></tr>\n",
120-
"<tr><td>Introduction to Version Control</td><td>December 2023</td></tr>\n",
121-
"<tr><td>Introduction to R</td><td>January 2024</td></tr>\n",
122-
"<tr><td>Regression Analysis with R</td><td>January 2024</td></tr>\n",
123-
"<tr><td>Introduction to UNIX </td><td>March 2024</td></tr>\n",
124-
"<tr><td>Introduction to Python</td><td>April 2024</td></tr>\n",
125-
"<tr><td>Computational Thinking</td><td>April 2024</td></tr>\n",
126-
"<tr><td>Software Development Best Practice</td><td>April 2024</td></tr>\n",
127-
"<tr><td>Advanced Regression Analysis with R</td><td>April 2024</td></tr>\n",
128-
"<tr><td>Introduction to Version Control</td><td>May 2024</td></tr>\n",
129-
"<tr><td>Python for Data Analysis</td><td>May 2024</td></tr>\n",
130-
"<tr><td>Intermediate Version Control</td><td>May 2024</td></tr>\n",
131-
"<tr><td>Introduction to R</td><td>June 2024</td></tr>\n",
132-
"<tr><td>Parallel Computing </td><td>June 2024</td></tr>\n",
113+
"<tr><td>Regression Analysis with R</td><td>June 2024</td></tr>\n",
133114
"<tr><td>Introduction to MATLAB</td><td>June 2024</td></tr>\n",
134-
"<tr><td>Regression Analysis with R</td><td>June 2024</td></tr></table>"
115+
"<tr><td>Parallel Computing </td><td>June 2024</td></tr>\n",
116+
"<tr><td>Introduction to R</td><td>June 2024</td></tr>\n",
117+
"<tr><td>Intermediate Version Control</td><td>May 2024</td></tr>\n",
118+
"<tr><td>Python for Data Analysis</td><td>May 2024</td></tr>\n",
119+
"<tr><td>Introduction to Version Control</td><td>May 2024</td></tr>\n",
120+
"<tr><td>Advanced Regression Analysis with R</td><td>April 2024</td></tr>\n",
121+
"<tr><td>Software Development Best Practice</td><td>April 2024</td></tr>\n",
122+
"<tr><td>Computational Thinking</td><td>April 2024</td></tr>\n",
123+
"<tr><td>Introduction to Python</td><td>April 2024</td></tr>\n",
124+
"<tr><td>Introduction to UNIX </td><td>March 2024</td></tr>\n",
125+
"<tr><td>Regression Analysis with R</td><td>January 2024</td></tr>\n",
126+
"<tr><td>Introduction to R</td><td>January 2024</td></tr>\n",
127+
"<tr><td>Introduction to Version Control</td><td>December 2023</td></tr>\n",
128+
"<tr><td>Introduction to HPC and ISCA</td><td>November 2023</td></tr>\n",
129+
"<tr><td>Introduction to julia</td><td>November/December 2023</td></tr>\n",
130+
"<tr><td>Introduction to Python</td><td>November 2023</td></tr>\n",
131+
"<tr><td>Introduction to UNIX </td><td>October 2023</td></tr></table>"
135132
],
136133
"text/plain": [
137134
"<IPython.core.display.HTML object>"
@@ -148,6 +145,7 @@
148145
"# Load the CSV file (adjust the file path as needed)\n",
149146
"file_path_previous = '../data/previous_workshops.csv'\n",
150147
"previous_courses_df = pd.read_csv(file_path_previous)\n",
148+
"previous_courses_df = previous_courses_df.iloc[::-1].reset_index(drop=True)\n",
151149
"\n",
152150
"# Strip any extra spaces in the column names\n",
153151
"previous_courses_df.columns = previous_courses_df.columns.str.strip()\n",

0 commit comments

Comments
 (0)