Data Sci Lab 1
Data Sci Lab 1
Lab No: 01
OBE MARKS
Objectives:
To know about Anaconda and its different features.
To know about programming language.
To get familiar with python.
Introduction:
Install Anaconda: If you haven't already, download and install Anaconda from the Anaconda
website.
Open Anaconda Navigator: Look for "Anaconda Navigator" on your computer, like you would
for any other program.
Anaconda Navigator Window: When Anaconda Navigator opens, it's like a control center for
Anaconda. You can do different things here, but we'll focus on Spyder for now.
Start Spyder: In Anaconda Navigator, click on the "Home" tab. You'll see an option for "Spyder."
Click the "Launch" button next to it.
Spyder Opens: After clicking "Launch," Spyder will open in a new window. It's where you can
write and run Python code.
Launch Jupyter Notebook: In Anaconda Navigator, click on the "Home" tab. You'll find "Jupyter
Notebook" listed there. Click "Launch" next to it.
Jupyter Opens in Your Web Browser: After clicking "Launch," your web browser will open, and
you'll see the Jupyter interface. It's like a file explorer for your computer.
Create or Open a Notebook: In Jupyter, you can create a new notebook or open an existing one.
Notebooks are where you can write code, add explanations, and create visualizations.
Work with Code and Text: Inside a Jupyter Notebook, you'll see "cells." You can use code cells
to write and run Python code. You can also use text cells (called "Markdown") to add
explanations, headings, and more.
Running Code: Click on a code cell, and then press the "Run" button to execute the code. You'll
see the output right below the cell.
Saving Your Work: Remember to save your work. You can do this by clicking the "Save" button
in the Jupyter interface or using the keyboard shortcut (Ctrl + S or Command + S).
Shutting Down: When you're done, close your web browser. Jupyter Notebook will
Conclusion: