Complex Data Types in Python: Working with Dictionaries & Sets in Python
Python 3.7
| 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
-
1.Course Overview1m 58sUP NEXT
-
2.Introducing Dictionaries7m 52s
-
3.Nesting Complex Data Types Within Dictionaries5m 55s
-
4.Invoking Functions on Dictionaries6m 57s
-
5.Introducing Sets7m 2s
-
6.Performing Set Operations6m 17s
-
7.Working with Nested Lists5m 2s
-
8.Performing List Conversions7m 40s
-
9.Exercise: Dictionaries and Sets4m 45s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.