Crash Course on Python

Crash Course on Python

Compact one-day course covering data analysis with Numpy and Pandas, visualization with Matplotlib, and statistical tests using real neuroscience data.


Crash Course on Python
Authors
Dr. Nicholas Del Grosso | Dr. Ole Bialas | Dr. Atle E. Rimehaug | Dr. Sangeetha Nandakumar

Python is one of the most widely used programming languages in academia and beyond. This one-day, hands-on crash course will teach you how to use Python and manage scientific coding projects. You will learn how to organize and analyze data using the Numpy and Pandas libraries, visualize data using Matplotlib and Seaborn, and perform statistical tests using Pingouin. By analyzing real data from neuroscience and other disciplines, you will gain the confidence needed to apply Python in your own projects.

Credits

Dr. Nicholas Del Grosso
Dr. Ole Bialas
Dr. Atle E. Rimehaug
Dr. Sangeetha Nandakumar

Installation

To run the course materials on your own machine:

  1. Install VSCode as your editor
  2. Install pixi or alternatively conda to create virtual Python environments (see the lessons on environment and package management)
  3. Download the materials for a lesson using the "Download Materials" button
  4. Extract the zip file and open the notebook in VSCode
  5. In VSCode, open a new terminal and install the environment:
pixi install
conda env create -f environment.yml
conda activate intro_python_short