Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Exercises/scripts/DataProcessingPython.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"# Data Processing in Python\n",
"\n",
"QLS-MiCM Workshop - November 18, 2025\n",
"QLS-MiCM Workshop - March 11, 2026\n",
"\n",
"Benjamin Z. Rudski, PhD Candidate, Quantitative Life Sciences, McGill University\n",
"\n",
Expand All @@ -31,12 +31,12 @@
"metadata": {},
"outputs": [],
"source": [
"using_colab = False\n",
"using_colab = True\n",
"\n",
"if using_colab:\n",
" !wget https://github.com/QLS-MiCM/DataProcessingInPython/archive/refs/heads/main.zip\n",
" !unzip main.zip\n",
" base_dir = \"Data-Processing-in-Python-main/Exercises/\"\n",
" base_dir = \"DataProcessingInPython-main/Exercises/\"\n",
"else:\n",
" base_dir = \"../\""
]
Expand Down Expand Up @@ -517,7 +517,7 @@
"\n",
"An example is [CuPy](https://cupy.dev/), which allows performing NumPy and SciPy operations on the GPU. This package **does not** work on all systems. It requires an NVIDIA GPU and CUDA, which is not available on macOS. In these cases, it's very important to read the [installation instructions](https://docs.cupy.dev/en/stable/install.html).\n",
"\n",
"If you have both `conda` and `pip` installed, the `conda` [documentation](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) recommends trying to install packages with `conda` first. You can easily search on https://anaconda.org to see if the package is available. Installing packages with `conda` makes it easier to manage multiple *environments* (which we'll discuss soon)."
"If you have both `conda` and `pip` installed, the `conda` [documentation](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) recommends trying to install packages with `conda` first. You can easily search on https://anaconda.org to see if the package is available. Installing packages with `conda` makes it easier to manage multiple *environments*."
]
},
{
Expand All @@ -530,7 +530,8 @@
"\n",
"We've seen what packages are and how to install them, but now how do we use them?\n",
"\n",
"To use a package, we have to import it, just like we import a module. Since we use a lot of functions from a package, we often it a shorter name when we import it. Here's the syntax for doing this:\n",
"To use a package, we have to import it, just like we import a module. Since we use a lot of functions from a package, we often give it a shorter name when we import it. Here's the syntax for doing this:\n",
"\n",
"```python\n",
"import package_name as short_name\n",
"```\n",
Expand Down
Loading