Chapter 1: Python Basics

This chapter introduces the basic concepts of Python syntax such as arithmetic operations, logical operations, variable assignment, lists, and functions.

1Introduction

2Python packages

3Exercise: Import your first package

4Coding basics

5Exercise: Use functions and variables

6Lists and data structures

7Exercise: Operations with lists

8Conclusion

About this course

These tutorials introduce Python for data wrangling with Polars and data visualisation with plotnine, using the grammar of graphics approach.

About me

Ph.D in Social and Experimental Psychology from the University Grenoble-Alpes, France. Now Assistant Professor of Business Research Methods at Dublin City University, my domain of expertise relies on multivariate time series analysis and trend extraction for supervised or unsupervised machine learning classification.