Skip to content

Commit 25266ec

Browse files
authored
Merge pull request #281 from pitmonticone/master
Fix typos
2 parents dff893d + f919a67 commit 25266ec

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

content/binder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ then using `Binder <https://mybinder.org/>`__.
117117
- Check that your notebook repository now has a "launch binder"
118118
badge in your `README.md` file on GitHub.
119119
- Try clicking the button and see how your repository is launched
120-
on Binder (can take a minute or two). Your notebooks can now be expored and executed in the cloud.
120+
on Binder (can take a minute or two). Your notebooks can now be explored and executed in the cloud.
121121
- Enjoy being fully reproducible!
122122

123123

content/data-formats.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Let's consider another example::
5050
np.info(data_array)
5151

5252

53-
Here we have a different data structure: we have a two-dimentional array of numbers.
53+
Here we have a different data structure: we have a two-dimensional array of numbers.
5454
This is different to a Pandas DataFrame as data is stored as one contiguous block instead of individual columns.
5555
This also means that the whole array must have one data type.
5656

@@ -90,7 +90,7 @@ Usually, you'll want to consider the following things when choosing a file forma
9090

9191
1. Is the file format good for my data structure (is it fast/space efficient/easy to use)?
9292
2. Is everybody else / leading authorities in my field recommending a certain format?
93-
3. Do I need a human-readable format or is it enought to work on it using code?
93+
3. Do I need a human-readable format or is it enough to work on it using code?
9494
4. Do I want to archive / share the data or do I just want to store it while I'm working?
9595

9696
Pandas supports `many file formats <https://pandas.pydata.org/docs/user_guide/io.html>`__ for tidy data and Numpy supports `some file formats <https://numpy.org/doc/stable/reference/routines.io.html>`__ for array data.

content/data-visualization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ ax.legend()
184184
````
185185

186186
```{discussion} Why these colors?
187-
This qualitative color palette is opimized for all color-vision
187+
This qualitative color palette is optimized for all color-vision
188188
deficiencies, see <https://clauswilke.com/dataviz/color-pitfalls.html> and
189189
[Okabe, M., and K. Ito. 2008. "Color Universal Design (CUD):
190190
How to Make Figures and Presentations That Are Friendly to Colorblind People"](http://jfly.iam.u-tokyo.ac.jp/color/).

content/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ of the tools.
2222
* **Python 3** (Anaconda is recommended, it will include everything)
2323

2424
* With some extra packages installed. They are all included in
25-
Aanconda, and are listed in the ``environment.yml`` file you can
25+
Anaconda, and are listed in the ``environment.yml`` file you can
2626
find under miniconda below.
2727
* Text editor (several lessons, can also be done through Jupyterlab)
2828
* Command-line shell (several lessons, can also be done through Jupyterlab)

content/numpy-advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Exercise 1
7070
Can you beat the C version?
7171

7272
If you are having trouble with this, we recommend completing the
73-
:ref:`basic NumPy lession <numpy>` before continuing with this
73+
:ref:`basic NumPy lesson <numpy>` before continuing with this
7474
advanced lesson. If you are taking a live course - don't
7575
worry, watch and learn and explore some during the exercises!
7676

content/pandas.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Unlike a NumPy array, a dataframe can combine multiple data types, such as
113113
numbers and text, but the data in each column is of the same type. So we say a
114114
column is of type ``int64`` or of type ``object``.
115115

116-
Let's inspect one column of the Titanic passanger list data (first downloading
116+
Let's inspect one column of the Titanic passenger list data (first downloading
117117
and reading the titanic.csv datafile into a dataframe if needed, see above)::
118118

119119
titanic["Age"]
@@ -592,7 +592,7 @@ apply your own functions to the data using :obj:`~pandas.DataFrame.apply`::
592592
df['Number of Rabbits'] = df['Generation'].apply(fib)
593593

594594

595-
Note that the numpy precisision for integers caps at int64 while python ints are unbounded --
595+
Note that the numpy precision for integers caps at int64 while python ints are unbounded --
596596
limited by memory size. Thus, the result from fibonacci(99) would be erroneous when
597597
using numpy ints. The type of df['Number of Rabbits'][99] given by both functions above
598598
is in fact <class 'int'>.

content/productivity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ get more errors:
9595
Here we see the following suggestions:
9696

9797
- On line 1 we're missing a module docstring. This is a warning that we're
98-
going against a coding convetion and thus we get a ``CXXXX`` message code.
98+
going against a coding convention and thus we get a ``CXXXX`` message code.
9999
This is not critical, so let's not focus on this for now.
100100
- On lines 4 and 5 we have undefined variable ``np``. This will create
101101
error if we would execute the code and thus we get a ``EXXXX`` message code.
@@ -110,7 +110,7 @@ correctly.
110110
From these messages we can deduce that the main problem is that the import
111111
statement does not use ``import numpy as np`` and thus ``np`` is undefined.
112112

113-
After changing the import stamement, the code works correctly and running
113+
After changing the import statement, the code works correctly and running
114114
``pylint lint_example.py`` will only warn about the missing docstring.
115115
You can also notice that the changes have increased the rating and
116116
Pylint will show the improvement since last run.

content/web-apis.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@
570570
"source": [
571571
"## After exercises: Saving retrieved data to disk\n",
572572
"\n",
573-
"Usually, we want to save the retrieved data to disk for later use. For example, we might collect data for one year and later analyze it for a longitudal study.\n",
573+
"Usually, we want to save the retrieved data to disk for later use. For example, we might collect data for one year and later analyze it for a longitudinal study.\n",
574574
"\n",
575575
"To save the retrieved JSON objects to disk, it is practical to use the JSONLINES file format. The JSONLINES format contains a single valid JSON object on each line. This is preferable to saving each object as its own file since we don't, in general, want to end up with excessive amounts of individual files (say, hundreds of thousands or millions).\n",
576576
"\n",

0 commit comments

Comments
 (0)