Practice For Lesson 4-1
Practice For Lesson 4-1
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
1 Practices for Lesson 4: Using Python in Data Science
Practices for Lesson 4
Overview
In these practices for this lesson, you will learn to install Anaconda, configure Anaconda, launch
Jupyter Notebook, process different types of data, create visualizations using few chart
properties and implement Chi-square algorithm.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
2 Practices for Lesson 4: Using Python in Data Science
Practice of 4-1: Installing and Configuring Anaconda and Jupyter
Notebook
Overview
In this practice, you will learn to install Anaconda, launch Jupyter notebook and set path for
Anaconda in your Local Machine.
Tasks:
1. On your Local Machine, using a browser, open the below URL to download Anaconda in
windows operating system
https://www.anaconda.com/products/individual
2. After the Installer is successfully downloaded on your local machine, double click the
executable file Anaconda3-2020.07-Windows-x86_64, as shown below.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
3 Practices for Lesson 4: Using Python in Data Science
3. As the Installer runs, click Next to Install Anaconda as shown below
4. Read the licensing terms to install Anaconda in your local machine and click I Agree.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
4 Practices for Lesson 4: Using Python in Data Science
5. Select Just Me (recommended) and click Next in Anaconda setup dialog box.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
5 Practices for Lesson 4: Using Python in Data Science
7. Select Register Anaconda3 as my default Python 3.8 and click Install.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
6 Practices for Lesson 4: Using Python in Data Science
9. On successful Installation, verify that the installation process is Completed as shown
below and Click Next.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
7 Practices for Lesson 4: Using Python in Data Science
10. Click Next to setup Anaconda.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
8 Practices for Lesson 4: Using Python in Data Science
12. Setting the path for Anaconda
a. Run SystemPropertiesAdvanced.exe in the Run Dialog Box on your local machine.
c. Select the Path Variable under User Variables and click Edit to add the path.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
9 Practices for Lesson 4: Using Python in Data Science
d. Click New to add the path in Edit environment variable as shown below
Example: c:\User\user\anaconda3
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
10 Practices for Lesson 4: Using Python in Data Science
e. Click OK to close the Environment Variable dialog box as shown below.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
11 Practices for Lesson 4: Using Python in Data Science
13. Navigate to start menu and search for anaconda navigator and click to launch anaconda
navigator.
anaconda navigator
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
12 Practices for Lesson 4: Using Python in Data Science
14. View ANACONDA NAVIGATOR installed successfully and click OK.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
13 Practices for Lesson 4: Using Python in Data Science
16. View the files in Jupyter Notebook as shown.
17. Click New from the drop down, select Python 3 to create a new Jupyter Notebook.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
14 Practices for Lesson 4: Using Python in Data Science
18. View the Jupyter Notebook as shown below.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
15 Practices for Lesson 4: Using Python in Data Science
19. Save the file by clicking Untitled in Jupyter Notebook, Rename Notebook as Hello_world
and click Rename as shown below.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
16 Practices for Lesson 4: Using Python in Data Science
20. Copy the below code and paste it in Jupyter Notebook cell and save the file as shown as
shown below.
print(“Hello World”)
21. Click Run in the Jupyter Notebook and view the output as shown below.
22. Click File from the dropdown, select Close and Halt to close the Jupyter Notebook
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
17 Practices for Lesson 4: Using Python in Data Science
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved
18 Practices for Lesson 4: Using Python in Data Science