Skip to content

Image for this blog post.

The Python computer language is great at so many things. Many indices rank Python as the most popular computer language. It is great for data science, machine learning, and so many things.

Python is also great at mathematics. Not only the mathematics of numerical computation, but also the kind of symbolic mathematics that you find in your algebra and calculus textbooks.

Packages extend the Python language. The symbolic Python package sympy does just this. It extends Python with the capability to do symbolic mathematics.

While you can install Python on your local computer, you can also use it in your Google Drive without installing anything. Just as we have Google Docs and Google Sheets in our Google Drive, we also have Google Colaboratory. With a Google Colab document, we can write and typeset normal titles, paragraphs, and images, just like Google Docs. We also write Python code in these documents.

I have made a video about how to set up your Google Drive to use Python. More specifically, how to set up your Google Drive to use Python for mathematics.

The course material on An Introduction to Algebra for Health Data Science that I host on this blog uses Python for Mathematics. The course teaches algebra, but also adds Python code that gives you a deeper understanding of the material by allowing you to experiment with your algebra knowledge without having to do the tedious calculations.

You can watch the video HERE or just click below.