Searching in Python dicts (part 2)

Published: 20 August 2024
on channel: 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... .


Watch video Searching in Python dicts (part 2) online, duration hours minute second in high quality that is uploaded to the channel Python and Pandas with Reuven Lerner 20 August 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 461 times and liked it 33 visitors.