Background
This series of tutorials are about learning the Python programming language itself while performing data analysis.
Confusion may arise to differentiate between the Python programming language and the various Python software, including Python distributions (e.g. Anaconda, Enthought, etc.) with or without Python package manager(s) (e.g. pip.)
The current version of Python is version 3.x, but version 2.x scripts will probably linger around for a while. The Python Software Foundation has finally taken the step to formally announce Python 2 will reach end of life (EOL) on January 1st, 2020.
While this is not (yet) part of the tutorials, readers are encouraged to learn about Python virtual environments (which, unfortunately again, will be created differently and by different software depending on the Python distribution! (e.g. pipenv
, conda
, virtualenv
, – see e.g. datacamp.com, geeksforgeeks.org.)
Tutorial(s)
TUTORIAL 1 – Data Analysis with Python 3
(last updated: February 2017 – recompiled April 2019)
Hands-on series. (same content, different formats)
- Python Data Analysis I – (HTML, PDF, PDF (biocStyle), DOCX)
- short Hand-out (rendered ipython jupyter notebook)
- Python Data Analysis II – (HTML, PDF, PDF (biocStyle), DOCX)
- short Hand-out (rendered ipython jupyter notebook)
- Python Data Analysis III – (HTML, PDF, PDF (biocStyle), DOCX)
- short Hand-out (rendered ipython jupyter notebook)
- Python Data Analysis IV – (HTML, PDF, PDF (biocStyle), DOCX)
- short Hand-out (rendered ipython jupyter notebook)
- Python Data Analysis IV_2 (continued)
- short Hand-out (rendered ipython jupyter notebook)
Note: The dataset used is also archived locally as python-novice-inflammation-data.zip
REFERENCES:
From: https://gvanrossum.github.io//Publications.html
- Guido van Rossum: Scripting the Web with Python. In “Scripting Languages: Automating the Web”, World Wide Web Journal, Volume 2, Issue 2, Spring 1997, O’Reilly.
- Aaron Watters, Guido van Rossum, James C. Ahlstrom: Internet Programming with Python. MIS Press/Henry Holt publishers, New York, 1996.
- Guido van Rossum: Python Library Reference. May 1995. CWI Report CS-R9524. Guido van Rossum: Python Reference Manual. May 1995. CWI Report CS-R9525.
- Guido van Rossum: Python Tutorial. May 1995. CWI Report CS-R9526.
- Guido van Rossum: Extending and Embedding the Python Interpreter. May 1995. CWI Report CS-R9527.
- Guido van Rossum, Jelke de Boer: Linking a Stub Generator (AIL) to a Prototyping Language (Python). Spring 1991 EurOpen Conference Proceedings (May 20-24, 1991) Tromso, Norway.
Resources
Python courses
- Extensive Python course (guru99.com): Python Tutorial for Beginners: Learn Programming Basics
Tutorials
- Python NumPy Tutorial for Beginners: Learn with Examples.
- (NumPy is an open source library available in Python, which helps in mathematical, scientific, engineering, and data science programming.)
Python 3 Cheat Sheets
- 8 Best Python Cheat Sheets for Beginners and Intermediate Learners [Archived] – (Last Updated on April 6, 2020. Original link defunct. Find PDFs within the archived version.)
More options:
- sixthresearcher.com – [Archived] – (PDF – Python 3 Beginner’s Reference Cheat Sheet)
- Python Crash Course – Multiple PDFs
- pythoncheatsheet.org (HTML)
- codecademy.com (HTML)
- gto76.github.io comprehensive (HTML) – (Source on github.com)
- perso.limsi.fr (PDF)
- websitesetup.org (PDF, PNG)
- static.realpython.com (PDF)