Core Python: Hashing and More Collections

If you use Python you want to embrace the object-oriented features to make your code easier to use, maintain, and extend. You will learn how to best take advantage of those features — specifically how to leverage hashing and advanced collections.
Course info
Level
Advanced
Updated
Aug 11, 2020
Duration
1h 33m
Table of contents
Description
Course info
Level
Advanced
Updated
Aug 11, 2020
Duration
1h 33m
Description

Whether you are writing scripts for your own use, building websites with something like Flask, or using machine learning frameworks like TensorFlow, you need to use collections in Python. However, often there are multiple collection types that seem like the correct solution to your particular problem. Being able to pick the correct type is an essential skill to write effective Python code. In this course, Core Python: Hashing and More Collections, you will learn about more of the collection types in Python and be able to pick the correct type and use that type more effectively. First, you will learn how to classify collection types to be able to easily determine what kind of functionality all the advanced collection types offer. Next, you will discover how to implement hash and eq to make your own types more useful in mapping types. Finally, you will explore more of the collection types in Python. When you are finished with this course, you will have the skills and knowledge of Python collection types needed to write more effective Python.

About the author
About the author

Although Jon spent the first few years of his professional life as an attorney, he quickly found chasing bits more interesting than chasing ambulances. Since 2011, Jon has been concentrating on the mobile world. Working mainly in iOS, Jon has helped numerous companies create and transform mobile teams into teams that can create, build, test, and deploy mobile applications with ease.

More from the author
Introduction to SQL
Beginner
3h 1m
Dec 20, 2017
More courses by Jon Flanders
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is John Flanders, and welcome to my course, Core Python: Hashing and More Collections. I'm a developer, architect, and trainer with over 20 years of experience in both writing code and explaining code to other developers. Using collections is an essential part of using Python, whether you're writing scripts for your own use, building websites with something like Flask, or using machine‑learning frameworks like TensorFlow. You probably are already familiar with using list and dict, but there are a number of additional collection types built into Python, which, once you understand them, can become powerful tools in your Python toolbox. In this course, we're going to get into the details of collection types, and then use those details to be able to understand where the collections beyond list and dict are useful. Some of the major topics we will cover include the Python classification system, hashing, and how that affects the usage of mapping types, how hashing and equality are connected, additional mapping types like dict, counter, and OrderedDict, additional sequence types like deque and namedtuple. By the end of this course, you will understand Pythons collection classification system and the ins and outs of effectively using more of Python's collection types. Before beginning this course, you should be familiar with Python and how to use the basic collection types like list and dict. I hope you'll join me on this journey to learn more about Python, with the Core Python: Hashing and More Collections course, at Pluralsight.