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

Python    |    Beginner
  • 9 videos | 53m 27s
  • Includes Assessment
  • Earns a Badge
Rating 4.7 of 572 users Rating 4.7 of 572 users (572)
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 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

IN THIS COURSE

  • 1m 58s
  • 7m 52s
    During this video, you will learn how to create and initialize a dictionary. FREE ACCESS
  • Locked
    3.  Nesting Complex Data Types Within Dictionaries
    5m 55s
    Find out how to create dictionaries with complex data types as values. FREE ACCESS
  • Locked
    4.  Invoking Functions on Dictionaries
    6m 57s
    To modify and update dictionaries, use dictionary methods. FREE ACCESS
  • Locked
    5.  Introducing Sets
    7m 2s
    In this video, find out how to create and initialize variables. FREE ACCESS
  • Locked
    6.  Performing Set Operations
    6m 17s
    In this video, find out how to perform union, intersection, difference, and other set operations. FREE ACCESS
  • Locked
    7.  Working with Nested Lists
    5m 2s
    In this video, learn how to work with nested types within complex data types. FREE ACCESS
  • Locked
    8.  Performing List Conversions
    7m 40s
    In this video, you will convert lists to dictionaries and dictionaries to lists. FREE ACCESS
  • Locked
    9.  Exercise: Dictionaries and Sets
    4m 45s
    Upon 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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.7 of 414 users Rating 4.7 of 414 users (414)
Rating 4.6 of 291 users Rating 4.6 of 291 users (291)
Rating 4.6 of 4247 users Rating 4.6 of 4247 users (4247)