filmov
tv
Custom Sorting with Lambda Functions in Python 🐍 #shorts

Показать описание
In this video, we learn how to do custom sorting in Python, by passing lambda functions to the sort() function.
We'll see how to account for differences in case, and how to sort lists of dictionaries by a particular key.
This also works with the sorted() built-in.
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
#python #programming #pythonprogramming #compsci #datascience
We'll see how to account for differences in case, and how to sort lists of dictionaries by a particular key.
This also works with the sorted() built-in.
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
#python #programming #pythonprogramming #compsci #datascience
Комментарии