Core Python: Hashing and More Collections
By Jon Flanders
Course info



Course info



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.
Course FAQ
This advanced course is great for Python developers who want to embrace object-oriented features to make their code easier to use, maintain, and extend.
Learn how to classify collection types to be able to easily determine what kind of functionality all the advanced collection types offer, and discover how to implement __hash__ and __eq__ to make your own types more useful.
Before beginning this course, you should be familiar with Python and how to use the basic collection types like list and dict.
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.