Global Petroleum Prices

Author : Rajdeep Chatterjee

I have visualized the pattern of change in Gasoline Prices across 10 different countries of the world, using Python. Python is an amazing tool to work with and this report not just compares the price variation but also establishes a predictive insight from the data.

The data is obtained from Quandl ( Quandl is a source for financial, economic and alternative datasets delivered in usable formats with suitable APIs for analytic tools like R and Python.

The data obtained from Quandl, consisted of several fields like Date, Gasoline Price, Gasoline One-Week Change %, Diesel Price, etc. The data were recorded from Sep. 2016 to Sep. 2017. I processed the data to obtain only the Gasoline Prices and the Dates when they were recorded. The following image shows how the data set for each countried varied.

Clearly, in some of the countries the variation in prices was too little, whereas some countries showed considerable variation in prices. So, I chose to correlate the variation and here's how the
percentage variation of Gasoline Prices across the countries look like.
As we can observe, the variation in price is maximum for Oman, followed by USA. However USA shows a more random variation. So, I analysed the price variation for USA and obtained the following best fit regression.

Now that I obtained a regression curve, I went on to predict the Gasoline Prices for October, November and December. Here's what I obtained.

Well, it appears the Gasoline Prices for USA might decrease by December 2017. Clearly, this is not an extremely accurate result as there are a lot of other factors (Predictors) that affect the prices  and even the dataset is not large enough to impose a strong confidence value over my machine's prediction. However, this result is quite helpful to obtain an overview of the trend in the price pattern of Gasoline across the globe and can be effectively utilised.


  1. We Can supply Aviation Kerosene,Jet fuel (JP 54-A1,5), Diesel (Gas Oil) and Fuel Oil D2, D6,ETC in FOB/Rotterdam only, serious buyer should contact or if you have serious buyers my seller is ready to close this deal fast contact us below:now base email us (


    Russia D2 50,000-150,000 Metric Tons FOB Rotterdam Port.

    JP54 5000,000 Barrels per Month FOB Rotterdam.

    JA1 Jet Fuel 10,000,000 Barrels FOB Rotterdam.

    D6 Virgin Fuel Oil 800,000,000 Gallon FOB Rotterdam.


    Best Regards
    (Mr.) Vladislav Yakov
    Skype: neftegazagent

    Thank You

  2. You have shared a nice article here about the global petroleum prices. Your article is very informative and useful to know more about Gasoline prices across 10 different countries. Refinery Automation Institute is one of the best Gasoline Blending Companies in the USA provides advice for diesel, bunker and gasoline blending design services worldwide.


Post a comment