Skip to main content

Financial Forecasting in Python

Step into the role of CFO and learn how to advise a board of directors on key metrics while building a financial forecast.

Start Course for Free
4 Hours12 Videos49 Exercises8,035 Learners
4050 XP

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

In Financial Forecasting in Python, you will step into the role of CFO and learn how to advise a board of directors on key metrics while building a financial forecast, the basics of income statements and balance sheets, and cleaning messy financial data. During the course, you will examine real-life datasets from Netflix, Tesla, and Ford, using the pandas package. Following the course, you will be able to calculate financial metrics, work with assumptions and variances, and build your own forecast in Python!

  1. 1

    Income statements


    In this chapter, we will learn the basics of financial statements, with a specific focus on the income statement, which provides details on our sales, costs, and profits. We will learn how to calculate profitability metrics and finish off what we have learned by building our profit forecast for Tesla!

    Play Chapter Now
    Introduction to financial statements
    50 xp
    Calculating gross profit
    100 xp
    Calculating net profit
    100 xp
    Elements within net profit & gross profit
    50 xp
    Calculating sales & Cost of Goods Sold (COGS)
    50 xp
    Calculating sales
    100 xp
    Forecasting sales with a discount
    100 xp
    Calculating COGS
    100 xp
    Calculating the break-even point
    100 xp
    Working with raw forecast datasets
    50 xp
    Tesla income statement
    100 xp
    Forecasting profit for Tesla
    100 xp
  2. 3

    Formatting raw data, managing dates and financial periods

    We have gotten a basic understanding of income statements and balance sheets. However, consolidating data for forecasting is complex, so in this chapter, we will look at some basic tools to help solve some of the complexities specifically relating to finance - working with dates and different financial periods, and formatting our raw data into the correct format for financial forecasting.

    Play Chapter Now
  3. 4

    Assumptions and variances in forecasts

    In this chapter, we will be exploring two more aspects to creating a good forecast. First, we will look at assumptions, what drives them and what happens when an assumption changes? Next, we will look at variances, as a forecast is built at one point in time, but what happens when the actual results do not correspond to our forecast? We need to build a sensitive forecast that can be sensitive to changes in both assumptions and take into account variances, and this is what we will explore in this chapter.

    Play Chapter Now


Ford Balance SheetNetflix ForecastTesla Income Statement


Becca RobinsSara Snell
Victoria Clark Headshot

Victoria Clark

Chartered Global Management Accountant at CIMA

I started my career in Financial Management and combined this with my interest in technology and automation. In this way, I have been exploring easy to use programming languages, especially Python, to help me with my day to day tasks. In the Financial world, there are huge synergies to be gained with programming languages such as Python that is unfortunately not leveraged as much as it could be. I hope to share my passion of teaching to these subjects, and join the worlds of Finance and Technology together.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA