\( \newcommand{\bm}[1]{\boldsymbol{\mathbf{#1}}} \newcommand{\pluseq}{\mathrel{+}=} \)

Python for beginners

Authors
Published

March 1, 2025

Welcome

This is the website for the IGFL Python training course “Python for beginners”. This course is a friendly introduction on how to program in Python, with hands-on examples using images and genomics data.

The course focuses on learning the basics of Python and using the three data science libraries, NumPy, Pandas and Matplotlib. Many packages are built around these three libraries, so it will always be rewarding for you to learn how to use them.

In particular, you will learn:

  1. the Python core: syntax, variables, operators, control flow, containers, functions (≈6h)
  2. how to perform efficient scientific computation using NumPy (≈4h)
  3. how to manipulate and transform tabular data with Pandas (≈4h)
  4. how to visualize data with Matplotlib and Seaborn (≈2h)

If you are already comfortable with Python, you can take on more advanced concepts: OOP (Object-Oriented Programming), code optimization, unit testing, packaging, and so on. Here is a link to a curated list of Python ressources.

References

Fuchs, P., Poulain, P., 2024. Programmation en python pour les sciences de la vie - 2e édition. Dunod - Sciences Sup.
Haase, R., Witz, G., Fernandes, others, 2024. Bio-image analysis notebooks.
Severance, C.R., 2016. Python for everybody: Exploring data in python 3. CreateSpace Independent Publishing Platform.
VanderPlas, J., 2016. Python data science handbook. O’Reilly Media, Inc.
Varoquaux, G., Gouillart, E., Vahtras, O., others, 2024. Scientific python lectures.