1.2 Using Google Colab to Run Python Code
Throughout this book, all of the code examples shown are based in Python, and run in Google Colab, or Colaboratory. Google describes Colab as a product that “allows anybody to write and execute arbitrary python code through the browser, and is especially well suited to machine learning, data analysis and education.”2 Colab is especially useful for team collaboration since multiple people can edit the browser-based code in real time.
As an alternative, any of these code examples could be run locally on a user’s computer through Jupyter Notebook, which is included in the Anaconda distribution.