Skip to content
Felix
  • Topics
    • My List
    • Felix Guide
    • Asset Management
    • Coding and Data Analysis
      • AI
      • Data Analysis and Visualization
      • Financial Data Tools
      • Python
      • SQL
    • Credit
      • Credit Analysis
      • Restructuring
    • Financial Literacy Essentials
      • Financial Data Tools
      • Financial Math
      • Foundations of Accounting
    • Industry Specific
      • Banks
      • Chemicals
      • Consumer
      • ESG
      • Industrials
      • Insurance
      • Oil and Gas
      • Pharmaceuticals
      • Project Finance
      • Real Estate
      • Renewable Energy
      • Technology
      • Telecoms
    • Introductory Courses
    • Investment Banking
      • Accounting
      • Financial Modeling
      • M&A and Divestitures
      • Private Debt
      • Private Equity
      • Valuation
      • Venture Capital
    • Markets
      • Economics
      • Equity Markets and Derivatives
      • Fixed Income and Derivatives
      • Introduction to Markets
      • Options and Structured Products
      • Other Capital Markets
      • Securities Services
    • Microsoft Office
      • Excel
      • PowerPoint
      • Word & Outlook
    • Professional Skills
      • Career Development
      • Expert Interviews
      • Interview Skills
    • Risk Management
    • Transaction Banking
    • Felix Live
  • Pathways
    • Investment Banking
    • Asset Management
    • Equity Research
    • Sales and Trading
    • Commercial Banking
    • Engineering
    • Operations
    • Private Equity
    • Credit Analysis
    • Restructuring
    • Venture Capital
    • CFA Institute
  • Certified Courses
  • Ask An Instructor
  • Support
  • Log in
  • Topics
    • My List
    • Felix Guide
    • Asset Management
    • Coding and Data Analysis
      • AI
      • Data Analysis and Visualization
      • Financial Data Tools
      • Python
      • SQL
    • Credit
      • Credit Analysis
      • Restructuring
    • Financial Literacy Essentials
      • Financial Data Tools
      • Financial Math
      • Foundations of Accounting
    • Industry Specific
      • Banks
      • Chemicals
      • Consumer
      • ESG
      • Industrials
      • Insurance
      • Oil and Gas
      • Pharmaceuticals
      • Project Finance
      • Real Estate
      • Renewable Energy
      • Technology
      • Telecoms
    • Introductory Courses
    • Investment Banking
      • Accounting
      • Financial Modeling
      • M&A and Divestitures
      • Private Debt
      • Private Equity
      • Valuation
      • Venture Capital
    • Markets
      • Economics
      • Equity Markets and Derivatives
      • Fixed Income and Derivatives
      • Introduction to Markets
      • Options and Structured Products
      • Other Capital Markets
      • Securities Services
    • Microsoft Office
      • Excel
      • PowerPoint
      • Word & Outlook
    • Professional Skills
      • Career Development
      • Expert Interviews
      • Interview Skills
    • Risk Management
    • Transaction Banking
    • Felix Live
  • Pathways
    • Investment Banking
    • Asset Management
    • Equity Research
    • Sales and Trading
    • Commercial Banking
    • Engineering
    • Operations
    • Private Equity
    • Credit Analysis
    • Restructuring
    • Venture Capital
    • CFA Institute
  • Certified Courses
Felix
  • Data
    • Company Analytics
    • My Filing Annotations
    • Market & Industry Data
    • United States
    • Relative Valuation
    • Discount Rate
    • Building Forecasts
    • Capital Structure Analysis
    • Europe
    • Relative Valuation
    • Discount Rate
    • Building Forecasts
    • Capital Structure Analysis
  • Models
  • Account
    • Edit Profile
    • Manage Account
    • My List
    • Restart Homepage Tour
    • Restart Company Analytics Tour
    • Restart Filings Tour
  • Log in
  • Ask An Instructor
    • Email Our Experts
    • Felix User Guide
    • Contact Support

Python Objects

Learn the basics of coding in Python. Starting with calculations, text, dynamic outputs, and variables in code.

Unlock Your Certificate   
 
0% Complete

20 Lessons (54m)

Show lesson playlist
  • Description & Objectives

  • 1. Python Objects Learning Objectives

    00:22
  • 2. Python Object Types

    03:42
  • 3. Object Type Workout

    00:51
  • 4. Lists

    04:05
  • 5. Accessing List Objects

    04:19
  • 6. Lists Workout

    05:04
  • 7. Changing List Objects

    02:54
  • 8. More List Functions

    02:05
  • 9. List Functions Workout

    03:01
  • 10. Tuples

    02:13
  • 11. Sets

    01:58
  • 12. Using Sets to Remove Duplicates

    02:09
  • 13. Set Operations

    03:08
  • 14. Sets Workout

    03:01
  • 15. Dictionaries

    03:02
  • 16. Accessing Dictionary Items

    01:43
  • 17. Dictionary Workout

    04:32
  • 18. Dictionary Functions

    03:14
  • 19. Dictionary Functions Workout

    01:55
  • 20. Python Objects Review

    01:00

Prev: Intro to Python Next: Custom Functions, For Loops, Conditional Logic

Dictionaries

  • Notes
  • Questions
  • Transcript
  • 03:02

How dictonaries are used in Python, how they are structures, and how to represent and manipulate data using dictionaries.

Downloads

No associated resources to download.

Glossary

Dictionary Python
Back to top
Financial Edge Training

© Financial Edge Training 2026

Topics
Introduction to Finance Accounting Financial Modeling Valuation M&A and Divestitures Private Equity
Venture Capital Project Finance Credit Analysis Transaction Banking Restructuring Capital Markets
Asset Management Risk Management Economics Data Science and System
Request New Content
System Account User Guide Privacy Policy Terms & Conditions Log in
Transcript

In Python, we use dictionaries to organize other objects, but they're a little bit more complex than the list or the set. In the real world, a dictionary contains pairs of words and definitions. In Python, we call the word the key, and the definition the value. So a dictionary is a collection of key value pairs, and each one of those key value pairs is called an item.

If you're thinking about this in Excel, a dictionary could be visualized as a table with two columns. On the left, we have the key, and on the right we have the value. So again, in a dictionary, the key is kind of like the word and the value is kind of like the definition of the word. Let's take a look at what that looks like in Python.

So here is a dictionary in Python. It looks similar to the table that we just saw in Excel. You have your keys on the left and your values on the right. Don't be confused here. Dictionaries are like sets in the sense that they are enclosed by these curly braces. Don't get confused by that Python knows that this is a dictionary because of the formatting of the objects inside those curly braces, which are these items, these key value pairs. Here we have a descriptive string on the left and then a colon separating the key from the value and the value on the right, which in this case is a float type object. In this course, we're primarily going to use descriptive strings for our keys in dictionaries, and you can use any type of object for the value on the right, including other dictionaries. Don't forget to separate these by a colon and to put a comma at the end of each item.

Well, what if you wanted to include more data in your dictionary? For example, if you wanted to add the name of the company in addition to its beta value inside your dictionary? Well, in Excel, we would represent that by splitting our value into two columns. So here we have the key on the left, which is the ticker of our company in one column, and the value is split into two columns containing the name of the company and the beta value of the company.

Putting the same data into the dictionary in Python looks very, very similar. So you have your key on the left, this the ticker of the company. And on the right we've just created lists as our values. So we have a list of two objects, the name of the company, which is a string, and the beta value of the company, which is a float. So our keys on the left are strings, and our values in this dictionary are just lists containing two objects, just like the two columns that you saw in Excel.

Content Requests and Questions

You are trying to access premium learning content.

Discover our full catalogue and purchase a course Access all courses with our premium plans or log in to your account
Help

You need an account to contact support.

Create a free account or log in to an existing one

Sorry, you don't have access to that yet!

You are trying to access premium learning content.

Discover our full catalogue and purchase a course Access all courses with our premium plans or log in to your account

You have reached the limit of annotations (10) under our premium subscription. Upgrade to unlock unlimited annotations.

Find out more about our premium plan

You are trying to access content that requires a free account. Sign up or login in seconds!

Create a free account or log in to an existing one

You are trying to access content that requires a premium plan.

Find out more about our premium plan or log in to your account

Only US listed companies are available under our Free and Boost plans. Upgrade to Pro to access over 7,000 global companies across the US, UK, Canada, France, Italy, Germany, Hong Kong and more.

Find out more about our premium plan or log in to your account

A pro account is required for the Excel Add In

Find out more about our premium plan

Congratulations on completing

This field is hidden when viewing the form
Name(Required)
This field is hidden when viewing the form
Rate this course out of 5, where 5 is excellent and 1 is terrible.
Were the stated learning objectives met?(Required)
Were the stated prerequisite requirements appropriate and sufficient?(Required)
Were the program materials, including the qualified assessment, relevant and did they contribute to the achievement of the learning objectives?(Required)
Was the time allotted to the learning activity appropriate?(Required)
Are you happy for us to use your feedback and details in future marketing?(Required)

Thank you for already submitting feedback for this course.

CPE

What is CPE?

CPE stands for Continuing Professional Education, by completing learning activities you earn CPE credits to retain your professional credentials. CPE is required for Certified Public Accountants (CPAs). Financial Edge Training is registered with the National Association of State Boards of Accountancy (NASBA) as a sponsor of continuing professional education on the National Registry of CPE Sponsors.

What are CPE credits?

For self study programs, 1 CPE credit is awarded for every 50 minutes of elearning content, this includes videos, workouts, tryouts, and exams.

CPE Exams

You must complete the CPE exam within 1 year of accessing a related playlist or course to earn CPE credits. To see how long you have left to complete a CPE exam, hover over the locked CPE credits button.

What if I'm not collecting CPE credits?

CPE exams do not count towards your FE certification. You do not need to complete the CPE exam if you are not collecting CPE credits, but you might find it useful for your own revision.


Further Help
  • Felix How to Guide walks you through the key functions and tools of the learning platform.
  • Playlists & Tryouts: Playlists are a collection of videos that teach you a specific skill and are tested with a tryout at the end. A tryout is a quiz that tests your knowledge and understanding of what you have just learned.
  • Exam: If you are collecting CPE points you must pass the relevant CPE exam within 1 year to receive credits.
  • Glossary: A glossary can be found below each video and provides definitions and explanations for terms and concepts. They are organized alphabetically to make it easy for you to find the term you need.
  • Search function: Use the Felix search function on the homepage to find content related to what you want to learn. Find related video content, lessons, and questions people have asked on the topic.
  • Closed Captions & Transcript: Closed captions and transcripts are available on videos. The video transcript can be found next to the closed captions in the video player. The transcript feature allows you to read the transcript of the video and search for key terms within the transcript.
  • Questions: If you have questions about the course content, you will find a section called Ask a Question underneath each video where you can submit questions to our expert instructor team.