0% found this document useful (0 votes)
25 views5 pages

Anaconda Setup for Python Data Science

The document outlines the prerequisites for using Python 3.X with Anaconda, including installation instructions and environment management using the conda package manager. It details how to manage packages and lists essential scientific and machine learning libraries to install. Additionally, it provides an overview of various Integrated Developer Environments (IDEs) suitable for Python development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views5 pages

Anaconda Setup for Python Data Science

The document outlines the prerequisites for using Python 3.X with Anaconda, including installation instructions and environment management using the conda package manager. It details how to manage packages and lists essential scientific and machine learning libraries to install. Additionally, it provides an overview of various Integrated Developer Environments (IDEs) suitable for Python development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Prerequisites: Python 3.

X (Anaconda)

Python distribution and libraries


We will use the Anaconda Python distribution. Contains more than 300 of the
most popular Python packages for science, math, engineering, and data
analysis.

o Download and install the Anaconda Python 3.X installer for your OS and
architecture:
https://www.anaconda.com/download/

o Verify the Anaconda installation. From the command prompt (Win) or


terminal (Mac, Linux) type

conda --version
python --version
Prerequisites: Environment management

Environments are managed with the Anaconda manager conda:

o Computing environments

conda create --name tensorflow-3.10 python==3.10


conda remove --name tensorflow-3.10 –all
conda env list

o Activate environment

conda activate tensorflow-3.10


conda deactivate

o Additional channels

conda config --add channels conda-forge


conda config --show channels
Prerequisites: Package management

Individual packages added/removed/updated either:

o Anaconda package manager


conda install/uninstall <package>
conda list

o Python package manager


pip install/uninstall <package>
pip freeze (list packages)
Prerequisites: Scientific and Machine Learning packages

o Numerical and scientific

pip install numpy, scipy

o Data engineering

pip install pandas

o Visualization

pip matplotlib, seaborn

o Machine learning

pip install scikit-learn

o Machine learning: Tensorflow/Keras

conda install -c conda-forge tensorflow


Prerequisites: Workspace

Integrated Developer Environments (IDEs):

o Collection of editor, compiler/interpreter, debugger, and documentation


o More recently, version control (GIT), auto completion (generative AI), big
data tools, etc.

Common IDEs:

o Jupyter Notebooks (Python, free)


Mathematica style notebooks for scripting, data science, and ML. Mix code,
output, and notes.

o Pycharm / Datalore(JetBrains, free for academia)


Full-fledged, professional code development – editor, compiler/interpreter,
debugger, documentation, versioning, etc.

o VS Code (Microsoft, free)


Similarly full-fledged IDE.

o Spyder (Anaconda, free)


Light-weight IDE from Anaconda.

You might also like