|
62 | 62 | " - Academics play a vital role in the Coding for Reproducible Research (CfRR) program at the University of Exeter. Their involvement ensures that the program delivers high-quality, up-to-date training across a broad range of topics essential for modern research. These experts contribute their extensive knowledge and experience across a range of fields, helping to create and deliver comprehensive course materials. The CfRR program benefits greatly from the active participation of academics who are passionate about enhancing the research capabilities of their colleagues and students. The collaborative environment of the CfRR program allows academics to work alongside Research Software Engineers (RSEs) and other professionals, creating a rich learning experience for all participants. "
|
63 | 63 | ]
|
64 | 64 | },
|
65 |
| - { |
66 |
| - "cell_type": "markdown", |
67 |
| - "id": "949413c7-34a1-4cfd-8981-9165db65d10d", |
68 |
| - "metadata": { |
69 |
| - "editable": true, |
70 |
| - "slideshow": { |
71 |
| - "slide_type": "" |
72 |
| - }, |
73 |
| - "tags": [] |
74 |
| - }, |
75 |
| - "source": [ |
76 |
| - "## Contributors\n", |
77 |
| - "This table highlights the involvement of our contributors in various aspects of our courses. Each row lists a contributor’s name along with indicators showing their participation in different roles, such as leading workshops, assisting with workshops, and developing course content. The presence of an emoji (✅) signifies their active contribution in the respective area, offering a quick and visual representation of their commitment and engagement." |
78 |
| - ] |
79 |
| - }, |
80 |
| - { |
81 |
| - "cell_type": "code", |
82 |
| - "execution_count": 14, |
83 |
| - "id": "4b7546c1-35da-49d5-8873-d46303966f39", |
84 |
| - "metadata": { |
85 |
| - "editable": true, |
86 |
| - "slideshow": { |
87 |
| - "slide_type": "" |
88 |
| - }, |
89 |
| - "tags": [ |
90 |
| - "remove-input" |
91 |
| - ] |
92 |
| - }, |
93 |
| - "outputs": [ |
94 |
| - { |
95 |
| - "data": { |
96 |
| - "text/html": [ |
97 |
| - "\n", |
98 |
| - "<style>\n", |
99 |
| - " .center-table {\n", |
100 |
| - " margin-left: auto;\n", |
101 |
| - " margin-right: auto;\n", |
102 |
| - " width: 80%;\n", |
103 |
| - " font-size: 1.5em;\n", |
104 |
| - " text-align: center;\n", |
105 |
| - " }\n", |
106 |
| - " .center-table th, .center-table td {\n", |
107 |
| - " padding: 10px;\n", |
108 |
| - " }\n", |
109 |
| - "</style>\n", |
110 |
| - "<table class=\"center-table\">\n", |
111 |
| - " <tr>\n", |
112 |
| - " <th>Name</th>\n", |
113 |
| - " <th>Has Led a Workshop</th>\n", |
114 |
| - " <th>Helped To Deliver A Workshop</th>\n", |
115 |
| - " <th>Developed Course Content</th>\n", |
116 |
| - " </tr>\n", |
117 |
| - "\n", |
118 |
| - " <tr>\n", |
119 |
| - " <td>Eilis Hannon</td>\n", |
120 |
| - " <td>✅</td>\n", |
121 |
| - " <td>✅</td>\n", |
122 |
| - " <td>✅</td>\n", |
123 |
| - " </tr>\n", |
124 |
| - " \n", |
125 |
| - " <tr>\n", |
126 |
| - " <td>Fliss Guest </td>\n", |
127 |
| - " <td>✅</td>\n", |
128 |
| - " <td>✅</td>\n", |
129 |
| - " <td>✅</td>\n", |
130 |
| - " </tr>\n", |
131 |
| - " \n", |
132 |
| - " <tr>\n", |
133 |
| - " <td>Liam Berrisford</td>\n", |
134 |
| - " <td></td>\n", |
135 |
| - " <td>✅</td>\n", |
136 |
| - " <td>✅</td>\n", |
137 |
| - " </tr>\n", |
138 |
| - " </table>" |
139 |
| - ], |
140 |
| - "text/plain": [ |
141 |
| - "<IPython.core.display.HTML object>" |
142 |
| - ] |
143 |
| - }, |
144 |
| - "metadata": {}, |
145 |
| - "output_type": "display_data" |
146 |
| - } |
147 |
| - ], |
148 |
| - "source": [ |
149 |
| - "import pandas as pd\n", |
150 |
| - "from IPython.display import display, HTML\n", |
151 |
| - "\n", |
152 |
| - "# Function to convert Yes values to emojis\n", |
153 |
| - "def convert_to_emoji(value):\n", |
154 |
| - " return '✅' if value == 'Yes' else ''\n", |
155 |
| - "\n", |
156 |
| - "# Read the CSV file\n", |
157 |
| - "file_path = 'contributor_details.csv' # Replace with your actual file path\n", |
158 |
| - "df = pd.read_csv(file_path)\n", |
159 |
| - "\n", |
160 |
| - "# Create HTML content\n", |
161 |
| - "html_content = \"\"\"\n", |
162 |
| - "<style>\n", |
163 |
| - " .center-table {\n", |
164 |
| - " margin-left: auto;\n", |
165 |
| - " margin-right: auto;\n", |
166 |
| - " width: 80%;\n", |
167 |
| - " font-size: 1.5em;\n", |
168 |
| - " text-align: center;\n", |
169 |
| - " }\n", |
170 |
| - " .center-table th, .center-table td {\n", |
171 |
| - " padding: 10px;\n", |
172 |
| - " }\n", |
173 |
| - "</style>\n", |
174 |
| - "<table class=\"center-table\">\n", |
175 |
| - " <tr>\n", |
176 |
| - " <th>Name</th>\n", |
177 |
| - " <th>Has Led a Workshop</th>\n", |
178 |
| - " <th>Helped To Deliver A Workshop</th>\n", |
179 |
| - " <th>Developed Course Content</th>\n", |
180 |
| - " </tr>\n", |
181 |
| - "\"\"\"\n", |
182 |
| - "\n", |
183 |
| - "for _, row in df.iterrows():\n", |
184 |
| - " name = row['Name']\n", |
185 |
| - " lead_workshop = convert_to_emoji(row['Lead Workshop'])\n", |
186 |
| - " help_with_workshop = convert_to_emoji(row['Help With Workshop'])\n", |
187 |
| - " develop_course_content = convert_to_emoji(row['Develop Course Content'])\n", |
188 |
| - " html_content += f\"\"\"\n", |
189 |
| - " <tr>\n", |
190 |
| - " <td>{name}</td>\n", |
191 |
| - " <td>{lead_workshop}</td>\n", |
192 |
| - " <td>{help_with_workshop}</td>\n", |
193 |
| - " <td>{develop_course_content}</td>\n", |
194 |
| - " </tr>\n", |
195 |
| - " \"\"\"\n", |
196 |
| - "\n", |
197 |
| - "html_content += \"</table>\"\n", |
198 |
| - "\n", |
199 |
| - "# Display the HTML content\n", |
200 |
| - "display(HTML(html_content))" |
201 |
| - ] |
202 |
| - }, |
203 | 65 | {
|
204 | 66 | "cell_type": "markdown",
|
205 | 67 | "id": "b335aec6-a9c6-4c95-ac7d-f2e4caff2b99",
|
|
0 commit comments