{ "cells": [ { "attachments": {}, "cell_type": "markdown", "id": "d13110d3-2f67-420b-9fe3-4eb6397cc66e", "metadata": {}, "source": [ "# Roles" ] }, { "cell_type": "markdown", "id": "42f163d5-773c-4af9-95d0-43952c24b7d3", "metadata": {}, "source": [ "This page shows the roles of Open Seeds people" ] }, { "cell_type": "code", "execution_count": 1, "id": "f850e932-78b9-4bc1-bbdb-4aa25b366d99", "metadata": {}, "outputs": [], "source": [ "import matplotlib.pyplot as plt\n", "import pandas as pd\n", "import plotly.graph_objects as go" ] }, { "cell_type": "code", "execution_count": 2, "id": "e4b6f9ba-7394-45f8-93a4-8dcbb215d03f", "metadata": {}, "outputs": [], "source": [ "baseurl = \"https://raw.githubusercontent.com/open-life-science/open-life-science.github.io/main/_data/artifacts/openseeds/\"\n", "cohort_nb = 8" ] }, { "cell_type": "code", "execution_count": 3, "id": "5cb1d949", "metadata": {}, "outputs": [], "source": [ "people_df = pd.read_csv(f\"{baseurl}people.csv\", index_col=0).fillna(\"\")" ] }, { "cell_type": "code", "execution_count": 4, "id": "2c60da75", "metadata": {}, "outputs": [], "source": [ "roles_df = {}\n", "roles = []\n", "for r in [\"role\", \"participant\", \"mentor\", \"expert\", \"speaker\", \"facilitator\", \"organizer\"]:\n", " role = r.capitalize()\n", " roles.append(role)\n", " roles_df[role] = pd.read_csv(f\"{baseurl}/roles/{r}.csv\", index_col=0)" ] }, { "cell_type": "markdown", "id": "47441041", "metadata": {}, "source": [ "## Roles over cohorts" ] }, { "cell_type": "code", "execution_count": 5, "id": "3bb3a840", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | Participant | \n", "Mentor | \n", "Facilitator | \n", "Speaker | \n", "Expert | \n", "
---|---|---|---|---|---|
OLS-1 | \n", "29 | \n", "20 | \n", "0 | \n", "18 | \n", "37 | \n", "
OLS-2 | \n", "52 | \n", "36 | \n", "0 | \n", "24 | \n", "65 | \n", "
OLS-3 | \n", "66 | \n", "34 | \n", "1 | \n", "22 | \n", "63 | \n", "
OLS-4 | \n", "34 | \n", "32 | \n", "7 | \n", "18 | \n", "46 | \n", "
OLS-5 | \n", "71 | \n", "35 | \n", "5 | \n", "17 | \n", "26 | \n", "
OLS-6 | \n", "41 | \n", "32 | \n", "7 | \n", "19 | \n", "39 | \n", "
OLS-7 | \n", "54 | \n", "34 | \n", "10 | \n", "18 | \n", "4 | \n", "
OLS-8 | \n", "69 | \n", "38 | \n", "15 | \n", "12 | \n", "22 | \n", "
Total | \n", "386 | \n", "138 | \n", "30 | \n", "99 | \n", "170 | \n", "
\n", " | source | \n", "target | \n", "value | \n", "
---|---|---|---|
0 | \n", "ols-1-participant | \n", "ols-2-participant | \n", "0 | \n", "
1 | \n", "ols-1-participant | \n", "ols-2-mentor | \n", "5 | \n", "
2 | \n", "ols-1-participant | \n", "ols-2-facilitator | \n", "0 | \n", "
3 | \n", "ols-1-participant | \n", "ols-2-speaker | \n", "2 | \n", "
4 | \n", "ols-1-participant | \n", "ols-2-expert | \n", "5 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "
205 | \n", "ols-7-expert | \n", "ols-8-mentor | \n", "2 | \n", "
206 | \n", "ols-7-expert | \n", "ols-8-facilitator | \n", "0 | \n", "
207 | \n", "ols-7-expert | \n", "ols-8-speaker | \n", "1 | \n", "
208 | \n", "ols-7-expert | \n", "ols-8-expert | \n", "2 | \n", "
209 | \n", "ols-7-expert | \n", "ols-8-alumni | \n", "0 | \n", "
210 rows × 3 columns
\n", "