OPCO 2070 - Introduction to Data analysis with python
OPCO 2070 · Spring semester 2025-2026
- Language of tuition
- English
- Course type
- Cours séminaire
- Number of hours
- 12
- Credits
- 2
Information
Description
This course offers a practical introduction to data analysis using real-world datasets. It emphasizes hands-on learning
and focuses on developing Python skills for effective data exploration and interpretation. As the field increasingly
relies on data to understand complex social, economical, and political phenomena, the ability to collect, clean,
analyse and interpret data automatically and rigorously is an essential skill. Therefore, in this class we focus on
practical Python coding session, while inviting the students to individuate the research questions they are interested in
and develop a pipeline to analyse them.
The objectives of the class are threefold: (I) understand the role of data in social, political and economical research
(II) teach core Python skills for data analysis (III) create your own research design to investigate a real-world dataset
and put it to the test in a collective empirical project, thus also learning to effectively communicate your findings.
Prerequisites
This is an introductory course, that does not require any prior programming knowledge. However, for the hands-on
sessions, basic Python coding skills are wished. The students are required to install Python and get familiar with its
concept by reading the following literature:
Sweigart, A. (2025). Automate the boring stuff with Python: Practical programming for total beginners (2nd ed.). No
Starch Press. Freely available at: https://automatetheboringstuff.com/ . Reading of Chapter 1 is mandatory.
For the installation of Python, students can follow the official documentation:
Python documentation: https://wiki.python.org/moin/BeginnersGuide/Download
Upon inscription, a document with instructions will also be sent to the students, to guide them through the necessary
installation process. It is essential that students follow those instructions and proceed to the necessary installations
before the first lecture. We will reserve some time during our first class to troubleshoot eventual installation
problems.
Teaching format
This course is composed by strongly interactive, hands-on classes. Typically, one lesson will start with
an explanation of the new concepts, together with several practical demonstration. Then, the second
part of the lesson will consist of exercises to do together, in a workshop modality. The slides and the
sample code will be made available to the students on GitHub.
Assessment
This course is evaluated on a pass/fail basis. Students are expected to complete the following
assessments in order to progress throughout the semester:
- After each lesson, students will receive homework exercises to complete on a voluntary basis. Each
homework sheet will be reviewed and corrected.
- To validate the course, students will work on a group project. Each group will choose a dataset
among the given ones and elaborate 2 to 3 research questions. The students will have to design a
pipeline to analyse the dataset according to their research question, visualize the results, and report a
qualitative and quantitative analysis. Both the paper and the code have to be submitted, and both will
be reviewed.
Workload
In Class Presence: 2 hours a week every 2 weeks / 12 hours a semester
Repetition of concepts studied in class: 20 minutes every 2 weeks / 1 hour a semester
Homework: 2h every 2 weeks / 10 hours a semester
Research and Preparation for Group Work: 1 hour a week / 10 hours a semester
Research and Writing for Individual Assessment: 20 minutes a week / 2 hours per semester
Readings
Main readings 5
-
Bail, C. A., Guay, B., Maloney, E., Combs, A., Hillygus, D. S., Merhout, F., ... & Volfovsky, A. (2020). Assessing the Russian Internet Research Agency’s impact on the political attitudes and behaviors of American Twitter users in late 2017. Proceedings of the national academy of sciences.
-
McKinney, W. (2023). Python for data analysis: Data wrangling with pandas, NumPy, and IPython (3rd ed.). O'Reilly Media. Freely available here: https://wesmckinney.com/book/
-
Python documentation: https://docs.python.org/3/
-
Salganik, M. (2017). Bit by Bit: Social Research in the Digital Age. Chapter 4. Freely available at: https://www.bitbybitbook.com/en/1st-ed/running-experiments/
-
Sweigart, A. (2025). Automate the boring stuff with Python (3rd ed.). No Starch Press. Freely available here: https://automatetheboringstuff.com/
Teaching units
| Unit no. | Unit type | Teaching units | Teachers | Number of hours | Credits |
|---|---|---|---|---|---|
| 58960 | Cours séminaire | Introduction to Data analysis with python | Cecilia GRAIFF | 12 | 2 |
Teachers
- Cecilia GRAIFF
In the curricula
- Double master avec HEC - Corporate and Public Management, Semestre 4 (2025-2026)ÉCOLE D'AFFAIRES PUBLIQUES (EAP)
- Enseignements optionnels de l'École d'affaires publiques, Semestre 2 (2025-2026) / Optional courses of the School of Public Affairs, Semester 2 (2025-2026)ÉCOLE D'AFFAIRES PUBLIQUES (EAP)
- Exchange Programme, Semester 2, 2025-2026ÉCOLE D'AFFAIRES PUBLIQUES (EAP)
Contacts and resources
- Contact
- PICAND Robin