© Max Humber 2018
Max HumberPersonal Finance with Pythonhttps://doi.org/10.1007/978-1-4842-3802-8_3

3. Convert

Max Humber1 
Toronto, Ontario, Canada

All this foreign money I can’t count what I’m making.

—Yung Lean

You probably didn’t notice, but all the values in the previous chapter were in Canadian dollars (CAD). Everything was in CAD because I’m from Canada.

Confusing and annoying, right? Like what even is a Canadian dollar, and what in Drake’s name is it worth? Alright, I shouldn’t be that patronizing; you probably have a decent idea about the value of a dollar in Canada as it’s closely coupled with a United States dollar (USD).

But we should be precise. It’s not enough to say that CAD is just kind of like USD! Let’s actually figure out the ...

Get Personal Finance with Python: Using pandas, Requests, and Recurrent now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.