Complex Data Types in Python: Working with Dictionaries & Sets in Python


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

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.



Expected Duration (hours)
0.9

Lesson Objectives

Complex Data Types in Python: Working with Dictionaries & Sets in Python

  • discover the key concepts covered in this course
  • create and initialize dictionaries
  • create dictionaries with other complex data types as values
  • modify and update dictionaries using dictionary methods
  • create and initialize sets
  • perform union, intersection, difference, and other set operations
  • work with nested types within other complex data types
  • convert lists to dictionaries and vice versa
  • recall feature of dictionaries and sets
  • Course Number:
    it_pycdpydj_02_enus

    Expertise Level
    Beginner