|
17 | 17 | "\n",
|
18 | 18 | "## The Python standard library\n",
|
19 | 19 | "\n",
|
20 |
| - "So far, we have only used a tiny portion of the Python Standard Library. This is a collection of modules that are installed when you install Python. However, the Standard Library contains many more modules that will be of use to us. Lets jump right in.\n", |
| 20 | + "So far, we have only used a tiny portion of the Python Standard Library. This is a collection of modules that are installed when you install Python. However, the Standard Library contains many more modules that will be of use to us. Let's jump right in.\n", |
21 | 21 | "\n",
|
22 | 22 | "## Importing a module\n",
|
23 | 23 | "\n",
|
|
59 | 59 | "id": "9178753c-3d5d-48e6-919a-f25621708caa",
|
60 | 60 | "metadata": {},
|
61 | 61 | "source": [
|
62 |
| - "We might run into a few of these errors when we try to install from external repositories. But dont panic! Usually it means that something has been placed in a strange location, and cant be found.\n", |
| 62 | + "We might run into a few of these errors when we try to install from external repositories. But dont panic! Usually it means that something has been placed in a strange location, and can't be found.\n", |
63 | 63 | "\n",
|
64 | 64 | "## Using a module\n",
|
65 | 65 | "\n",
|
|
132 | 132 | "source": [
|
133 | 133 | "## External Python libraries\n",
|
134 | 134 | "\n",
|
135 |
| - "There are some very common libraries that you will come across very soon into your Python journey. Some of these have been listed below:\n", |
| 135 | + "There are some very common libraries that you will come across very soon in your Python journey. Some of these have been listed below:\n", |
136 | 136 | "\n",
|
137 | 137 | "* [NumPy](https://numpy.org/): Used for array computation, GPU processing, and generally running things really, really fast.\n",
|
138 | 138 | "* [SciPy](https://scipy.org/): Contains many more complex algorithms, for optimisation, geometry, algebra, statistics, and much more.\n",
|
|
146 | 146 | "* `import pandas as pd`. Access functions as `pd.XXX`.\n",
|
147 | 147 | "* `import matplotlib.pyplot as plt`. Access functions as `plt.XXX`.\n",
|
148 | 148 | "\n",
|
149 |
| - "## Installing these manually\n", |
150 |
| - "\n", |
151 |
| - "We have asked you to install Anaconda because it contains many packages commonly used for data science and visualisation, including those above. If you have problems importing these (receive error messages when trying to import them), we will do our best to help you out here. However, this troubleshooting will involve reading error messages: please be patient with us!\n", |
152 |
| - "\n", |
153 | 149 | "If you want to install these packages manually, we can use various installers.\n",
|
154 | 150 | "\n",
|
155 | 151 | "The most common is `pip`. For example, to install `numpy` using `pip`, we type in the shell/terminal/command prompt:\n"
|
|
0 commit comments