COM6018 Data Science with Python

Week 1: Introduction to Python

Varvara Papazoglou

Copyright © 2023–2026 Varvara Papazoglou & Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

In this lab

  • Introduction to Python
  • Working with Jupyter Notebooks
Copyright © 2023–2026 Varvara Papazoglou & Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Lab Demonstrators

There are three Graduate Teaching Assistants (GTAs) who are here to help you.

Eperke Owora Sneha

If you are stuck, please just raise a hand.

Copyright © 2023–2026 Varvara Papazoglou & Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Today's Lab

If you have cloned the module's GitHub repository, then you should see:

materials/labs/
├── 000_Introduction.md
├── 010_python_intro.ipynb

The lab is notebook is the file 010_python_intro.ipynb

Or you can find it at https://uos-com6018-2627.github.io/COM6018/

Copyright © 2023–2026 Varvara Papazoglou & Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

The Jupyterbook Website

https://uos-com6018-2627.github.io/COM6018/

Copyright © 2023–2026 Varvara Papazoglou & Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Today's Lab

From here you can download the notebook as an ipynb file to run it on your own machine. Or you can open it on Google Colab.

Copyright © 2023–2026 Varvara Papazoglou & Jon Barker, University of Sheffield. All rights reserved.
COM6018 Data Science with Python

Running the notebook

Once you have downloaded the .ipynb file, you can run it on your own machine.

jupyter notebook 010_python_intro.ipynb

Alternatively, if you have installed VS Code, you can open the notebook in VS Code and use the VS Code Jupyter extension.

code 010_python_intro.ipynb
Copyright © 2023–2026 Varvara Papazoglou & Jon Barker, University of Sheffield. All rights reserved.