Exploring Python Dictionaries and Sorting

Опубликовано: 15 Август 2024
на канале: Real Python
944
39

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


Смотрите видео Exploring Python Dictionaries and Sorting онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Real Python 15 Август 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 944 раз и оно понравилось 39 посетителям.