Complex Data Types in Python: Working with Dictionaries & Sets in Python
Python
| Beginner
- 9 videos | 53m 27s
- Includes Assessment
- Earns a Badge
This 9-video course helps learners explore dictionary data type in Python. Dictionaries are associative containers used to store key-value pairs. Given a key, finding the associated value is optimized by Python to be extremely efficient. First, receive an introduction to dictionaries in Jupyter Notebook in Python. You will learn how to create and initialize dictionaries, then learn about nesting complex data types within dictionaries. Continuing with the study of Python dictionaries, you will explore what functions and methods can be invoked on these dictionaries, such as modifying and updating dictionaries using dictionary methods. Next, you will be introduced to sets, another commonly used complex data type that Python supports. You will then create and initialize sets. This leads on to performing set operations such as union, intersection difference, and other set operations. You will also examine nested lists, and work with nested types within other complex data types. In the final tutorial, you will learn how to convert lists to dictionaries and vice versa. The concluding exercise entails recalling features of dictionaries and sets.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseCreate and initialize dictionariesCreate dictionaries with other complex data types as valuesModify and update dictionaries using dictionary methodsCreate and initialize sets
-
Perform union, intersection, difference, and other set operationsWork with nested types within other complex data typesConvert lists to dictionaries and vice versaRecall feature of dictionaries and sets
IN THIS COURSE
-
1m 58s
-
7m 52sDuring this video, you will learn how to create and initialize a dictionary. FREE ACCESS
-
5m 55sFind out how to create dictionaries with complex data types as values. FREE ACCESS
-
6m 57sTo modify and update dictionaries, use dictionary methods. FREE ACCESS
-
7m 2sIn this video, find out how to create and initialize variables. FREE ACCESS
-
6m 17sIn this video, find out how to perform union, intersection, difference, and other set operations. FREE ACCESS
-
5m 2sIn this video, learn how to work with nested types within complex data types. FREE ACCESS
-
7m 40sIn this video, you will convert lists to dictionaries and dictionaries to lists. FREE ACCESS
-
4m 45sUpon completion of this video, you will be able to recall features of dictionaries and sets. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.