Mini-Lab: Introduction to Google Colab
Introduction
In this mini-lab you will gain practice with writing a scientific
report with Google Colab.
Exercises
We will learn the basics of Google Colab, a tool for writing and
executing code in your browser, with easy sharing among
collaborators. To use this tool, you must have a Google account.
- To begin, go to the following website: Colab.research.google.com/.
You will need to sign in to your Google account if you have not
already done so.
In the window that pops up, click on the "Welcome to Colaborator"
link. Read through the "Getting started" and "Data Science" sections.
- Work through Sections 1-5 of this Google
Colab tutorial. At the end of these sections, you should
have created a new notebook, added some code and text to it, and
saved it to your Google drive.
- Section 6 of the tutorial shows how to share your notebook with
others. Click on the link to "Share" your notebook. (Look for this
link in the upper right corner of the screen.) Get the link to
share with others, and submit this link for this mini-lab on
Kit.
- Watch the following video to learn how to make your notebook
into more of a report. Turning
a Python notebook into a
report.
- Experiment with adding code and text cells into your notebook,
and
formatting sections. You could paste your Game of Life code into
your notebook, and then add comments and discussion about your
results. Try to add an image into your notebook. Make
your notebook look like a nice report.
- Share your notebook (email your link) with someone in the
class.
- Open your peer's notebook and try to edit it. Did it work? Why
or why not? (If you're unsure what should happen here, ask the TA
or instructor.)
Submit
When you are done, submit the URL/link to your notebook on
Kit.