Python is an extremely versatile scripting language with extensive community support. Some of the advantages of using Python are:
- Standard Libraries
- Third-Party Libraries (pip)
- Open Source
- User-Friendly Data Structures
- Easy to learn syntax
- Productivity
- Speed
Jupyter is a cross-platform and cross-language project for interactive computing.
An example of R running in jupyter:
The most famous package management system for python software distribution. Can be used in conjunction with Anaconda and VirtualEnv to create virtual environments for ease of package installation, collision prevention, and distribution.
If we wanted to setup the libraries required in the course's examples we can run (on the terminal):
pip install numpy
pip install plotly
pip install spyderAn easy way to deal with dependencies and libraries clashes is to generate a self-contained environment for each of our projects. These environments will hold the libraries (in their current versions) so that we do not break other projects, or require changes every time a library is updated.
Installing packages in the Anaconda cloud is easy:
conda install PACKAGENAMEFor example, if we want to install tensorflow:
conda install -c conda-forge tensorflowFor instructions on how to install the required conda environment from anaconda, please follow the instructions on the introduction.
Download and install Anaconda:
Open the Anaconda Navigator:
Once the Navigator is Open:
click on the Environments section:
and then import:
Locate the ./conda/dataViz.yml file in the project's repository, name it dataViz and click import. The environment should now be ready for use in our computers.
To setup the anaconda environment directly in the atom text editor follow the instructions detailed in the dataViz conda environment readme file.
To verify that everything is in shape please run the examples in the hello python demos.












