Skip to main content
HomePython

Course

Importing and Managing Financial Data in Python

IntermediateSkill Level
4.7+
58 reviews
Updated 02/2023
In this course, you'll learn how to import and manage financial data in Python using various tools and sources.
Start Course for Free
PythonApplied Finance5 hr16 videos53 Exercises4,350 XP44,889Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

If you want to apply your new 'Python for Data Science' skills to real-world financial data, then this course will give you some very valuable tools. First, you will learn how to get data out of Excel into pandas and back. Then, you will learn how to pull stock prices from various online APIs like Google or Yahoo! Finance, macro data from the Federal Reserve, and exchange rates from OANDA. Finally, you will learn how to calculate returns for various time horizons, analyze stock performance by sector for IPOs, and calculate and summarize correlations.

Prerequisites

Data Manipulation with pandas
1

Importing stock listing data from Excel

In this chapter, you will learn how to import, clean and combine data from Excel workbook sheets into a pandas DataFrame. You will also practice grouping data, summarizing information for categories, and visualizing the result using subplots and heatmaps. You will use data on companies listed on the stock exchanges NASDAQ, NYSE, and AMEX with information on company name, stock symbol, last market capitalization and price, sector or industry group, and IPO year. In Chapter 2, you will build on this data to download and analyze stock price history for some of these companies.
Start Chapter
2

Importing financial data from the web

3

Summarizing your data and visualizing the result

In this chapter, you will learn how to capture key characteristics of individual variables in simple metrics. As a result, it will be easier to understand the distribution of the variables in your data set: Which values are central to, or typical of your data? Is your data widely dispersed, or rather narrowly distributed around some mid point? Are there outliers? What does the overall distribution look like?
Start Chapter
4

Aggregating and describing your data by category

Importing and Managing Financial Data in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.7
from 58 reviews
79%
21%
0%
0%
0%
  • Julia
    4 days ago

  • Laurenza
    5 weeks ago

  • Samantha
    2 months ago

  • Joao
    2 months ago

  • Dylan
    2 months ago

  • Sam
    2 months ago

Julia

Laurenza

Samantha

FAQs

What financial data sources does this course teach me to access?

You learn to pull stock prices from Google and Yahoo Finance APIs, macroeconomic data from the Federal Reserve Data Service, and exchange rates from OANDA, all using Python.

Will I learn to import financial data from Excel into pandas?

Yes. Chapter 1 covers importing, cleaning, and combining data from Excel workbook sheets into pandas DataFrames, including stock listing data from NASDAQ, NYSE, and AMEX.

What types of financial analysis will I perform?

You calculate returns across various time horizons, analyze stock performance by sector for IPOs, and compute and summarize correlations between financial variables.

Does the course cover data visualization for financial data?

Yes. You create subplots, heatmaps, and statistical charts from the seaborn library to visualize financial data distributions, sector comparisons, and income distributions over time.

How many exercises does this course include?

The course has 83 exercises across 4 chapters, offering extensive hands-on practice. The median completion time is about 3.9 hours with an estimated total of 5 hours.

Join over 19 million learners and start Importing and Managing Financial Data in Python today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.