Companies Home Search Profile

Records and Sets: Selecting the Ideal Data Structure

Focused View

Christopher Trudeau

33:56

271 View
  • 01 Record Sets intro.mp4
    03:09
  • 02 Record Sets dicts.mp4
    09:02
  • 03 Record Sets dclass.mp4
    10:13
  • 04 Record Sets rec sum.mp4
    02:27
  • 05 Record Sets sets.mp4
    09:05
  • data struct m2.pdf
  • records sets sample code.zip
  • Description


    There are a variety of ways for storing and managing data in your program and the choice of the right data structure has an effect on the readability of your code, ease of writing, and performance. Python has a wide selection of built-in mechanisms that meet most of your data structure needs. This course introduces you to two types of data structures: data records and sets.

    There are multiple types and classes for both of these data structures and this course discusses them and provides information on how to choose the right one.

    In this course you’ll learn about:

    This course is the second part of an ongoing series, exploring how to find the right Data Structure for your projects. The first course is Dictionaries and Arrays: Selecting the Ideal Data Structure and the third part is Stacks and Queues: Selecting the Ideal Data Structure.

    What You'll Learn?


    • What are the advantages of using the built-in dict type as a Data Record
    • What flexibility do DataClasses add for Records compared to regular Classes
    • How to store C-type Data with struct.Struct
    • How to define Sets
    • Where to use a Frozenset
    • How to create a counter with a multiset

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Christopher Trudeau
    Christopher Trudeau
    Instructor's Courses

    Christopher has a passion for the Python language and writes for Real Python. He is a consultant who helps advise organizations on how to improve their technical teams. Christopher is a strong advocate for automation throughout the delivery process and the power of small teams with well defined goals.

    You can find Christopher here:

    Learn Python online: Python tutorials for developers of all skill levels, Python books and courses, Python news, code examples, articles, and more.
    • language english
    • Training sessions 5
    • duration 33:56
    • Release Date 2023/01/05