Morris Lab

Python Tutorials

In the lab we use a set of Python libraries, within OpenSesame to program our studies.

Python is a popular programming language with a simple, easy to learn syntax that emphasizes readability.

Anaconda is a distribution of Python for scientific computing. Anaconda has many very useful third-party libraries such as Numpy, Pandas, and Matplotlib built in, so installing Anaconda is much easier than the regular Python installation.

Anaconda Navigator is a GUI tool that is included in the Anaconda distribution and makes it easy to configure, install, and launch tools such as Jupyter Notebook, an open-source web application that allows data scientists to create and share documents that integrate live code, equations, computational output, visualizations, and other multimedia resources, along with explanatory text in a single document. This article explains the benefits of using Jupyter.

To get started with Python follow this (excellent!) Python tutorial.

LinkedIn Learning is available to all faculty, staff, and students at PC. Access it by logging into to your LinkedIn account with your Providence College email.

LinkedIn Learning Tutorials

Python for Non Programmers

Learning Python

Python for Data Analysis

In our lab we use python for programming our studies and R for analysing our data, but we can also analyse our data with Python. The following textbook is a great introduction to python for data analysis.

Reproducible Data Science with Python by Valentin Danchev

This textbook provides an accessible introduction to open, reproducible, and ethical data analysis using hands-on Python coding, modern open-source computational tools, and data science techniques. Topics include open reproducible research workflows, data wrangling, exploratory data analysis, data visualisation, pattern discovery (e.g., clustering), prediction & machine learning, causal inference, and network analysis.