Searching in Python dicts (part 2)

Опубликовано: 20 Август 2024
на канале: Python and Pandas with Reuven Lerner
461
33

I recently told you to use "in" on a dict, and not on dict.keys(). And I was right... but I was also wrong. In this video, I attempt to clarify things, and to show where my benchmarks led me (and maybe you!) astray. Along the way, we look at the differences between dicts and dict views.

Jupyter notebooks for this and all of my videos are at https://github.com/reuven/youTube-not... .


Смотрите видео Searching in Python dicts (part 2) онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Python and Pandas with Reuven Lerner 20 Август 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 461 раз и оно понравилось 33 посетителям.