Dictionaries and Arrays: Selecting the Ideal Data Structure
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:
- What are the advantages of using the built-in
dict
type - What are four other types of dictionaries
- How
list
andtuple