Dictionaries and Arrays: Selecting the Ideal Data Structure
Christopher Trudeau
50:03
Description
There are a variety of ways of storing and managing data in your Python programs, and the choice of the right data structure will affect the readability of your code, ease of writing, and performance. Python has a wide variety of built-in mechanisms that meet most of your data structure needs.
This course introduces you to two types of data structures: dictionaries and arrays. There are multiple types and classes for both of these data structures and this course discusses them and provides information on how to choose the ideal one.
In this course you’ll learn about:
This course is the first part of an ongoing series, exploring how to find the right Data Structure for your projects. The second course is Records and Sets: Selecting the Ideal Data Structure and the third part is Stacks and Queues: Selecting the Ideal Data Structure.
What You'll Learn?
- What are the advantages of using the built-in
dict
type - What are four other types of dictionaries
- How
list
andtuple
types are arrays - What are typed arrays and how can they save memory
- How strings are arrays and what that implies
- What are the different arrays for storing binary data
- What are the practical uses for the different types
- How to select the ideal data structure for your programs
More details
User Reviews
Rating
Christopher Trudeau
Instructor's CoursesChristopher has a passion for the Python language and writes for Real Python. He is a consultant who helps advise organizations on how to improve their technical teams. Christopher is a strong advocate for automation throughout the delivery process and the power of small teams with well defined goals.
You can find Christopher here:

Real Python
View courses Real Python- language english
- Training sessions 9
- duration 50:03
- Release Date 2023/04/03