From 7bf9f9f3cf80f32963ed421221a4cd405aef6dd8 Mon Sep 17 00:00:00 2001
From: Kushal Bakshi <52367253+kushalbakshi@users.noreply.github.com>
Date: Thu, 26 Oct 2023 21:42:15 +0000
Subject: [PATCH] Completed tutorial
---
notebooks/tutorial.ipynb | 1134 +++++++++++++++++++++++---------------
1 file changed, 702 insertions(+), 432 deletions(-)
diff --git a/notebooks/tutorial.ipynb b/notebooks/tutorial.ipynb
index a6c89e67..543ab984 100644
--- a/notebooks/tutorial.ipynb
+++ b/notebooks/tutorial.ipynb
@@ -88,9 +88,9 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2023-03-20 21:44:02,597][WARNING]: lab.Project and related tables will be removed in a future version of Element Lab. Please use the project schema.\n",
- "[2023-03-20 21:44:02,607][INFO]: Connecting root@fakeservices.datajoint.io:3306\n",
- "[2023-03-20 21:44:02,614][INFO]: Connected root@fakeservices.datajoint.io:3306\n"
+ "[2023-10-26 21:39:21,831][WARNING]: lab.Project and related tables will be removed in a future version of Element Lab. Please use the project schema.\n",
+ "[2023-10-26 21:39:21,833][INFO]: Connecting root@fakeservices.datajoint.io:3306\n",
+ "[2023-10-26 21:39:21,840][INFO]: Connected root@fakeservices.datajoint.io:3306\n"
]
}
],
@@ -113,9 +113,20 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 3,
"metadata": {},
- "outputs": [],
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "Schema `neuro_subject`"
+ ]
+ },
+ "execution_count": 3,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
"source": [
"subject.schema"
]
@@ -129,9 +140,101 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 4,
"metadata": {},
- "outputs": [],
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ "
\n",
+ "
\n",
+ " | | | | |
\n",
+ "
\n",
+ "
\n",
+ " \n",
+ "
Total: 0
\n",
+ " "
+ ],
+ "text/plain": [
+ "*subject subject_nickna sex subject_birth_ subject_descri\n",
+ "+---------+ +------------+ +-----+ +------------+ +------------+\n",
+ "\n",
+ " (Total: 0)"
+ ]
+ },
+ "execution_count": 4,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
"source": [
"subject.Subject()"
]
@@ -147,277 +250,312 @@
},
{
"cell_type": "code",
- "execution_count": 3,
+ "execution_count": 5,
"metadata": {},
"outputs": [
- {
- "name": "stderr",
- "output_type": "stream",
- "text": [
- "/usr/local/lib/python3.9/inspect.py:351: FutureWarning: pandas.Float64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.\n",
- " value = getattr(object, key)\n",
- "/usr/local/lib/python3.9/inspect.py:351: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.\n",
- " value = getattr(object, key)\n",
- "/usr/local/lib/python3.9/inspect.py:351: FutureWarning: pandas.UInt64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.\n",
- " value = getattr(object, key)\n"
- ]
- },
{
"data": {
"image/svg+xml": [
- "