Skip to content

Commit

Permalink
fix typos in day 1 nb4
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeethankumar committed Mar 14, 2024
1 parent 89a6566 commit 9df3698
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1026,8 +1026,6 @@
"source": [
"### Variable-Length Data on Variable Keys: Using a Double-Seperator to Store Keys Directly in the Filename\n",
"\n",
"### Variable-Length Data on Variable Keys: Using a Double-Separator to Store Keys Directly in the Filename\n",
"\n",
"**Introduction:**\n",
"Extracting the key-value pairs in a filename can be fully automated when they use a double-separator method. This technique is particularly useful when dealing with variable-length data and keys, a common scenario in scientific data management, including neuroscience research. By embedding key-value pairs in the filename itself, researchers can create self-descriptive files that contain crucial metadata in an organized and accessible format.\n",
"\n",
Expand All @@ -1044,10 +1042,7 @@
"| **`base, ext = fname.split('.')`** | Splits the filename at the dot to separate the base name from the file extension |\n",
"| **`for item in items:`** | start a for-loop, iterating over each item in a sequence. |\n",
"| **`data = {}`** | Initializes an empty dictionary to store the extracted metadata |\n",
"| **`data[key] = value`** | Assigns the value to its respective key in the dictionary |\n",
"\n",
"\n",
"\n"
"| **`data[key] = value`** | Assigns the value to its respective key in the dictionary |\n"
]
},
{
Expand Down Expand Up @@ -1287,8 +1282,6 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### (Extra Demo) Making Data Model Contracts Explicit With Schemas\n",
"\n",
"### (Extra Demo) Making Data Model Contracts Explicit With Schemas\n",
"\n",
"In scientific research, particularly in fields like neuroscience, it's crucial to have a clear understanding of the data structure you're working with. A schema, or a data model contract, serves as a blueprint for the data, outlining its format and the relationships between different data elements. By defining these contracts explicitly, you ensure that your data adheres to a specific structure, which facilitates more efficient and error-free data processing.\n",
Expand Down

0 comments on commit 9df3698

Please sign in to comment.