Python 3: Deep Dive (Part 3 – Hash Maps)

0

 

Dictionaries, Sets, and Related Data Structures

4.8 ★ | (1,171 ratings) | 19,809 students | Author:Fred Baptiste

Course Duration:

13 sections • 84 lectures • 21h 57m total length

Description:

This course is an in-depth look at Python dictionaries.Dictionaries are ubiquitous in Python. Classes are essentially dictionaries, modules are dictionaries, namespaces are dictionaries, sets are dictionaries and many more. In this course we’ll take an in-depth look at:associative arrays and how they can be implemented using hash mapshash functions and how we can leverage them for our own custom classesPython dictionaries and sets and the various operations we can perform with themspecialized dictionary structures such  as OrderedDict and how it relates to the built-in Python3.6+ dictPython’s implementation of multi-sets, the Counter classthe ChainMap classhow to create custom dictionaries by inheriting from the UserDict classhow to serialize and deserialize dictionaries to JSONthe use of schemas in custom JSON deserializationa brief introduction to some useful libraries such as JSONSchema, Marshmallow, PyYaml and Serpy***** Prerequisites *****Please note that this is a relatively advanced Python course, and a strong knowledge of some topics in Python is required. Beyond the basics of Python (loops, conditional statements, exception handling, built-in data types, creating classes, etc), you should also have an in-depth understanding of the following topics:functions and functional programming (recursion, *args, **kwargs, zip, map, sorted, any, all, etc)lambdas, closures and decorators (including standard decorators such as @singledispatch, @wraps, etc)iterables, iterators, generators and context managersnamed tuplesvariable scopes and namespaces (globals, locals, etc)For this course you will also need to install some 3rd party libraries, so you need to be comfortable with doing this using the tool of your choice (e.g. pip, conda, etc)Finally, most of the code in this course is illustrated using the freely available  Jupyter Notebooks, so you will need that as well.

Requirements:

#This is an advanced course, so a solid Python foundation is necessary
#Jupyter Notebooks
#functional programming (zip, map, sorted, any, all, etc)
#lambdas, closures and decorators
#built-in decorators such as @lru_cache, @singledispatch and @wraps
#iterables, iterators, generators and context managers
#variable scopes and namespaces (globals, locals, etc)
#ability to install 3rd party libraries (e.g. pip install)

What you’ll learn:

#Associative Arrays
#Hash Tables and Hash Functions
#Python’s implementation of hash tables
#Dictionaries and Sets
#Defining hash functions for our custom classes and why that is useful
#Creating customized dictionaries using the UserDict class
#defaultdict
#OrderedDict and Python3.6+ equivalences
#Counter (multi-sets)
#ChainMap
#Serialization and Deserialization
#JSON serialization/deserialization
#Intro to JSONSchema, Marshmallow, PyYaml and Serpy 3rd party libraries

Who this course is for:

#Python developers who want a deeper understanding of Python dictionaries and related topics


Source:

/user/fredbaptiste/


Protected Area

This content is password-protected. Please verify with a password to unlock the content.

Notes: If this Author or Course helped you improve your life. It is really worth it if you go and buy his/her course. Get feedback, support and help by his/her community. The Author support is much more valuable than the course itself.


Leave A Reply

Your email address will not be published.