O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Python Data Structures

Video Description

In this Python Data Structures training course, expert author James Powell covers the built-in data types in Python. This course is designed for beginning to intermediate Python users.

You will start by learning about data structures, including the dict type, problem statements, terms, and how to create a dict. From there, James will teach you how to interact with the set type, such as type constructing, comprehension, and indexing. Finally, this video tutorial covers list and tuple types, including the list type, how to create a list and tuple, and semantics.

Once you have completed this computer based training course, you will have gained a solid understanding of the built-in data types in Python. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of Contents

  1. Introduction To Python Data Structures
    1. Introduction And About The Author 00:07:30
    2. How To Access Your Working Files 00:01:15
  2. Choosing The Right Data Structures
    1. The Dict Type 00:01:10
    2. Problem Statements 00:03:22
    3. Terms 00:00:58
    4. Dictionary 00:02:21
    5. Map 00:04:24
    6. Creating A Dict 00:02:54
    7. Dict.Update 00:00:43
    8. Dict Methods 00:00:58
    9. Dict.Clear 00:01:31
    10. Dict.Copy 00:01:45
    11. Dict.Get 00:03:18
    12. Dict.Pop And Dict.Popitem 00:01:03
    13. Dict.Keys, Dict.Values And Dict.Items 00:04:34
    14. Dict.Setdefault 00:02:22
    15. Dict.__Missing__ 00:01:59
    16. Dict Comprehensions 00:05:47
    17. Lookup Table 00:06:46
    18. Relation And Function 00:05:18
    19. __Getitem__ And __Call__ 00:03:16
    20. Dict-Alikes 00:01:14
    21. Rangedict And Passthrudict 00:04:50
    22. Collections.Defaultdict 00:02:15
    23. Hash 00:06:25
    24. Dict Versus Object 00:06:29
    25. Semantics 00:09:16
    26. Attribute Dictionary 00:05:44
    27. Vigenere Cipher 00:07:18
    28. Concordance 00:05:45
  3. Interacting With The Set Type
    1. Problem Statement 00:02:08
    2. The Set Type 00:02:52
    3. Type Constructing 00:04:29
    4. Indexing 00:03:06
    5. Iterate And Union 00:03:23
    6. Remove And Discard 00:02:00
    7. Comprehension 00:02:04
    8. Example And Valid Straights 00:03:40
    9. Best_Hand 00:07:47
    10. Helper Functions 00:02:13
    11. Example Hands 00:02:20
    12. Displaying Example Hands 00:02:06
    13. Additional Methods 00:08:09
    14. Prime Number Generator 00:14:51
  4. List And Tuple Types
    1. Introduction To List And Tuple Type 00:00:43
    2. Problem Statement 00:00:31
    3. The List Type 00:01:17
    4. The Tuple Type 00:01:58
    5. Creating A List 00:01:24
    6. Creating A Tuple 00:02:28
    7. Comprehension Syntax 00:02:09
    8. Getitem 00:02:42
    9. Setitem 00:01:13
    10. Setitem - Corner Case 00:01:13
    11. Delitem 00:00:58
    12. Iteration 00:02:02
    13. Unpacking 00:03:14
    14. Addition And Multiplication 00:03:54
    15. Argument Unpacking 00:01:26
    16. .Count And .Index 00:01:22
    17. List Methods 00:08:01
    18. Semantics 00:07:26
    19. Collections.Namedtuple 00:04:53
    20. Collections.Deque - Stacks, Queues And Deques 00:07:41
    21. Collections.Deque - More Stacks 00:03:17
    22. Heapq Module 00:04:14
  5. Conclusion
    1. Wrap-Up 00:04:34