A good amount of people that I know, drinks coffee, maybe at the morning to start their day or in a long night to finish a project. I personally love it, and I’m pretty sure I’m not alone, just in the US around 64% of their adult population drinks at least one cup per day¹.

But where is this coffee coming from? Where are the places that produces the most? And Where is the coffee going to be prepared in a nice beverage?

In this article, I will answer these questions using Python and a dataset of the production, consumption…


It is well known that Canada is a big player in the renewable energy, but how much of their electricity is being generated from renewables? and how has this changed over time with the addition of new renewable technologies?

In this article, we are going to describe Canada’s electricity generation by using data and try to answer those questions and get a clear picture of the energy scene in this country.

To do the analysis, we are going to use three datasets:

  • Canadian Electricity Statistics from 1950 to 2007, which is a compound of monthly energy generation by provinces and…

Leonardo Palavicini

Geophysicist getting into the world of data analysis. I'm on the learning path of data analytics with Python and I enjoy generating appealing visualizations.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store