Fix wrong symbol as cell magic

This commit is contained in:
Alexander Hess 2024-07-15 11:38:37 +02:00
parent bd282f4528
commit 0ed024e020
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
2 changed files with 4 additions and 4 deletions

View file

@ -36,7 +36,7 @@
"source": [ "source": [
"Before we can import these libraries, we must ensure that they installed on our computers. If you installed Python via the Anaconda Distribution that should already be the case. Otherwise, we can use Python's **package manager** `pip` to install them manually.\n", "Before we can import these libraries, we must ensure that they installed on our computers. If you installed Python via the Anaconda Distribution that should already be the case. Otherwise, we can use Python's **package manager** `pip` to install them manually.\n",
"\n", "\n",
"`pip` is a so-called command-line interface (CLI), meaning it is a program that is run within a terminal window. JupyterLab allows us to run such a CLI tool from within a notebook by starting a code cell with a single `%` symbol. Here, this does not mean Python's modulo operator but is just an instruction to JupyterLab that the following code is *not* Python.\n", "`pip` is a so-called command-line interface (CLI), meaning it is a program that is run within a terminal window. JupyterLab allows us to run such a CLI tool from within a notebook by starting a code cell with a single `!` symbol. Here, this does not mean Python's modulo operator but is just an instruction to JupyterLab that the following code is *not* Python.\n",
"\n", "\n",
"So, let's proceed by installing [numpy <img height=\"12\" style=\"display: inline-block\" src=\"../static/link/to_np.png\">](https://numpy.org/) and [matplotlib <img height=\"12\" style=\"display: inline-block\" src=\"../static/link/to_plt.png\">](https://matplotlib.org/)." "So, let's proceed by installing [numpy <img height=\"12\" style=\"display: inline-block\" src=\"../static/link/to_np.png\">](https://numpy.org/) and [matplotlib <img height=\"12\" style=\"display: inline-block\" src=\"../static/link/to_plt.png\">](https://matplotlib.org/)."
] ]
@ -55,7 +55,7 @@
} }
], ],
"source": [ "source": [
"%pip install numpy" "!pip install numpy"
] ]
}, },
{ {
@ -82,7 +82,7 @@
} }
], ],
"source": [ "source": [
"%pip install matplotlib" "!pip install matplotlib"
] ]
}, },
{ {

View file

@ -42,7 +42,7 @@
} }
], ],
"source": [ "source": [
"%pip install pandas" "!pip install pandas"
] ]
}, },
{ {