Python for Data Science

From Sinfronteras
Jump to: navigation, search

For a standard Python tutorial go to Python


  • Udemy - Python for Data Science and Machine Learning Bootcamp


Anaconda is a free and open source distribution of the Python and R programming languages for data science and machine learning related applications (large-scale data processing, predictive analytics, scientific computing), that aims to simplify package management and deployment. Package versions are managed by the package management system conda.

En otras palabras, Anaconda puede ser visto como un paquete (a distribution) que incluye no solo Python (or R) but many libraries that are used in Data Science, as well as its own virtual environment system. It's an "all-in-one" install that is extremely popular in data science and Machine Learning.Creating sample array for the following examples:


Installation from the official Anaconda Web site:

Anaconda comes with a few IDE

  • Jupyter Lab
  • Jupyter Notebook
  • Spyder
  • Qtconsole
  • and others

Anaconda Navigator

Anaconda Navigator is a GUI that helps you to easily start important applications and manage the packages in your local Anaconda installation

You can open the Anaconda Navigator from the Terminal:



Jupyter comes with Anaconda.

  • It is a development environment (IDE) where we can write codes; but it also allows us to display images, and write down markdown notes.
  • It is the most popular IDE in data science for exploring and analyzing data.
  • Other famoues IDE for Python are Sublime Text and PyCharm.
  • There is Jupyter Lab and Jupyter Notebook

Online Jupyter

There are many sites that provides solutions to run your Jupyter Notebook in the cloud:

I have tried:
Parece bueno, pero tiene opciones que no son gratis
Parece bueno pero no encontré la forma adicionar una TOC

Es el que estoy utilizando ahora

Some remarks

Executing Terminal Commands in Jupyter Notebooks

If we are in the Notebook, and we want to run a shell command rather than a notebook command we use the !

Try, for example:

!ls or

It's the same as if you opened up a terminal and typed it without the !

Creating Presentations in Jupyter Notebook with RevealJS

Some of the most popular Python Data Science Libraries

  • NumPy
  • SciPy
  • Pandas
  • Seaborn
  • SciKit'Learn
  • MatplotLib
  • Plotly
  • PySpartk

NumPy and Pandas

Data Visualization with Python

Natural Language Processing

Dash - Plotly