Skip to main content

Introduction to Python for Finance

This course introduces Python for financial analysis.

Start Course for Free
4 Hours14 Videos55 Exercises38,838 Learners
4650 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

The financial industry is increasingly adopting Python for general-purpose programming and quantitative analysis, ranging from understanding trading dynamics to risk management systems. This course focuses specifically on introducing Python for financial analysis. Using practical examples, you will learn the fundamentals of Python data structures such as lists and arrays and learn powerful ways to store and manipulate financial data to identify trends.

  1. 1

    Welcome to Python


    This chapter is an introduction to basics in Python, including how to name variables and various data types in Python.

    Play Chapter Now
    Welcome to Python for Finance!
    50 xp
    Why might you use Python in finance?
    50 xp
    Run code vs. submit answer
    100 xp
    Comments and variables
    50 xp
    Printing output
    100 xp
    Finding the average revenue
    100 xp
    Data types
    50 xp
    Creating variables
    100 xp
    Determining types
    100 xp
    Booleans in Python
    100 xp
    Combining data types
    100 xp

In the following tracks

Finance Fundamentals


Sumedh PanchadharLore DirickEunkyung Park
Adina Howe Headshot

Adina Howe

Assistant Professor and Data Scientist

Adina is an Assistant Professor in the College of Engineering at Iowa State University (ISU) in Ames, Iowa. She teaches numerical methods, computational biology, and data science courses in the undergraduate and graduate programs. Her research focuses on using computational tools to help address global grand challenges, such as how to best manage our land and water resources. She loves dogs, board games, and using programming to solve problems that help people.
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