You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The course uses Python 3 and some data analysis packages such as Pandas, Numpy a
15
15
16
16
For detailed instructions to get started on your local machine , see the [setup instructions](./setup.md).
17
17
18
-
In case you do not want to install everything and just want to try out the course material, use the environment setup by Binder [](https://mybinder.org/v2/gh/jorisvandenbossche/DS-python-data-analysis/master?urlpath=lab/) and open de notebooks rightaway.
18
+
In case you do not want to install everything and just want to try out the course material, use the environment setup by Binder [](https://mybinder.org/v2/gh/jorisvandenbossche/DS-python-data-analysis/main?urlpath=lab/) and open de notebooks rightaway.
Copy file name to clipboardExpand all lines: index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ The course uses Python 3 and some data analysis packages such as Pandas, Numpy a
30
30
31
31
For detailed instructions to get started on your local machine , see the [setup instructions](./setup.md).
32
32
33
-
In case you do not want to install everything and just want to try out the course material, use the environment setup by Binder [](https://mybinder.org/v2/gh/jorisvandenbossche/DS-python-data-analysis/master) and open de notebooks rightaway.
33
+
In case you do not want to install everything and just want to try out the course material, use the environment setup by Binder [](https://mybinder.org/v2/gh/jorisvandenbossche/DS-python-data-analysis/main) and open de notebooks rightaway.
Copy file name to clipboardExpand all lines: setup.md
+15-22Lines changed: 15 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,15 @@ For scientific and data analysis, we recommend to use Anaconda (or Miniconda) (<
20
20
21
21
### Install Anaconda
22
22
23
-
#### Option 1: I do not have Anaconda installed
23
+
#### Option 1: I do not have Anaconda installed
24
24
25
25
For first time users and people not fully confident with using the command line, we advise to install Anaconda, by downloading and installing the Python 3.x version from <https://www.anaconda.com/download/>. Recent computers will require the 64-Bit installer.
26
26
27
27
For more detailed instructions to install Anaconda, check the [Windows](https://docs.anaconda.com/anaconda/install/windows/), [Mac](https://docs.anaconda.com/anaconda/install/mac-os/) or [linux](https://docs.anaconda.com/anaconda/install/linux/) installation tutorial.
28
28
29
-
**Note:** When you are already familiar to the command line and Python environments you could opt to use Miniconda instead of Anaconda and download it from <https://conda.io/miniconda.html>. The main difference is that Anaconda provides a graphical user interface (Anaconda navigator) and a whole lot of scientific packages (e.g <https://docs.anaconda.com/anaconda/packages/py3.6_win-64/>) when installing, whereas for Miniconda the user needs to install all packages using the command line. On the other hand, Miniconda requires less disk space.
29
+
**Note:** When you are already familiar with the command line and Python environments you could opt to use Miniconda instead of Anaconda and download it from <https://conda.io/miniconda.html>. The main difference is that Anaconda provides a graphical user interface (Anaconda navigator) and a whole lot of scientific packages (e.g <https://docs.anaconda.com/anaconda/packages/py3.6_win-64/>) when installing, whereas for Miniconda the user needs to install all packages using the command line. On the other hand, Miniconda requires less disk space.
30
30
31
-
#### Option 2: I have installed Anaconda earlier
31
+
#### Option 2: I have installed Anaconda earlier
32
32
33
33
When you already have an installation of Anaconda, you have to make sure you are working with the most recent versions. As the course is developed for Python 3, make sure you have Anaconda3 (on Windows, check Start > Programs > Anaconda3). If not, reinstall Anaconda according to the previous section.
34
34
@@ -42,28 +42,21 @@ Type following command + ENTER-button (make sure you have an internet connection
42
42
conda update -n root conda
43
43
```
44
44
45
-
when finished, type (+ ENTER-button):
46
-
47
-
```
48
-
conda update --all
49
-
```
50
-
51
45
and respond with *Yes* by typing `y`. Packages should be updated after the completion of the command.
52
46
53
-
### Setup after installation
47
+
### Setup after Anaconda installation
54
48
55
49
As not all packages we will use in the course are provided by default as part of Anaconda, we have to add the package to Anaconda to get started. As a good practice, we will create a new _conda environment_ to work with. This environment will contain the required packages on which this course depends.
56
50
57
-
The packages used in the course are enlisted in an [`environment.yml` file](https://raw.githubusercontent.com/jorisvandenbossche/DS-python-data-analysis/master/environment.yml). The file looks as follows:
51
+
The packages used in the course are enlisted in an [`environment.yml` file](https://raw.githubusercontent.com/jorisvandenbossche/DS-python-data-analysis/main/environment.yml). The file looks as follows:
58
52
59
53
```
60
-
name: DS-python-data-analysis
54
+
name: DS-python
61
55
channels:
62
-
- defaults
63
56
- conda-forge
64
57
dependencies:
65
-
- python=3.8
66
-
- pandas=1.2
58
+
- python=3.9
59
+
- pandas>1
67
60
- matplotlib>3
68
61
- ipython
69
62
...
@@ -74,7 +67,7 @@ The file contains information on:
74
67
-`channels` to define where to download the packages from
75
68
-`dependencies` contains each of the packages
76
69
77
-
To download the environment file, click to go to the [environment.yml](https://raw.githubusercontent.com/jorisvandenbossche/DS-python-data-analysis/master/environment.yml) online. Once opened in the browser, right-click and save the file/page on your computer. The specific text depends on your browser (`Save page as...`, `Save as...`).
70
+
To download the environment file, click to go to the [environment.yml](https://raw.githubusercontent.com/jorisvandenbossche/DS-python-data-analysis/main/environment.yml) online. Once opened in the browser, right-click and save the file/page on your computer. The specific text depends on your browser (`Save page as...`, `Save as...`).
78
71
79
72
__WARNING !__ Make sure you save the file as `environment.yml` instead of `environment.yml.txt` which, specifically on Windows operating system, might be the default option. To do so, choose for 'save as type' _All Files_ instead of 'Text Document'.
80
73
@@ -104,7 +97,7 @@ Respond with *Yes* by typing `y` when asked. Output will be printed and if no er
104
97
When finished, keep the terminal window open (or reopen it). Execute the following commands to check your installation:
105
98
106
99
```
107
-
conda activate DS-python-data-analysis
100
+
conda activate DS-python
108
101
ipython
109
102
```
110
103
@@ -156,10 +149,10 @@ With `FOLDER_PATH_TO_COURSE_MATERIAL` replaced by the path to the folder with th
156
149
Activate the newly created conda environment:
157
150
158
151
```
159
-
conda activate DS-python-data-analysis
152
+
conda activate DS-python
160
153
```
161
154
162
-
Run the `check_environment.py` script:
155
+
Then, run the `check_environment.py` script:
163
156
164
157
```
165
158
python check_environment.py
@@ -178,7 +171,7 @@ Each of the course modules is set up as a [Jupyter notebook](http://jupyter.org/
178
171
* Ensure that the correct environment is activated.
179
172
180
173
```
181
-
conda activate DS-python-data-analysis
174
+
conda activate DS-python
182
175
```
183
176
184
177
* Start a jupyter notebook server by typing
@@ -189,12 +182,12 @@ Each of the course modules is set up as a [Jupyter notebook](http://jupyter.org/
189
182
190
183
### Option 2: Using Anaconda Navigator
191
184
192
-
In the Anaconda Navigator *Home* tab, first switch to the course environment, called `DS-python-data-analysis` in the selection bar. Next, select the Launch button under the Jupyter Lab icon:
185
+
In the Anaconda Navigator *Home* tab, first switch to the course environment, called `DS-python` in the selection bar. Next, select the Launch button under the Jupyter Lab icon:
This will open a browser window automatically. Navigate to the course directory (if not already there) and choose the `notebooks` folder to access the individual notebooks containing the course material.
199
192
200
-
If you require some rehearsal of python itself (and numpy), check the [python_recap](https://github.com/jorisvandenbossche/DS-python-data-analysis/tree/master/notebooks/python_recap) folder first, otherwise you can directly jump into the `pandas_0x_` notebooks.
193
+
If you require some rehearsal of python itself (and numpy), check the [python_recap](https://github.com/jorisvandenbossche/DS-python-data-analysis/tree/main/notebooks/python_recap) folder first, otherwise you can directly jump into the `pandas_0x_` notebooks.
Copy file name to clipboardExpand all lines: slides.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@
142
142
143
143
Report bugs, typo's, suggestions... as issues ([New issue](https://github.com/jorisvandenbossche/DS-python-data-analysis/issues/new)) <br>or just by mail.
144
144
145
-
or see the [contributing guidelines](https://github.com/jorisvandenbossche/DS-python-data-analysis/blob/master/CONTRIBUTING.md)
145
+
or see the [contributing guidelines](https://github.com/jorisvandenbossche/DS-python-data-analysis/blob/main/CONTRIBUTING.md)
0 commit comments