Exploring Python Dictionaries and Sorting

Published: 15 August 2024
on channel: Real Python
1,125
43

This is a preview of the video course, "Sorting Dictionaries in Python: Keys, Values, and More." Perhaps you’ve tried passing a dictionary to the sorted() function but didn’t receive the results you expected. In this video course preview, you’ll explore the idea of sorting dictionaries in Python.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/sortin...

The rest of the course covers:
Understand how dictionaries are cast to lists during sorting
Learn how to specify a sort key to sort a dictionary by value, key, or nested attribute
Review dictionary comprehensions and the dict() constructor to rebuild your dictionaries
Consider alternative data structures for your key-value data


On this page of the site you can watch the video online Exploring Python Dictionaries and Sorting with a duration of hours minute second in good quality, which was uploaded by the user Real Python 15 August 2024, share the link with friends and acquaintances, this video has already been watched 1,125 times on youtube and it was liked by 43 viewers. Enjoy your viewing!