PyCon JP 2024

ロケール設定が保存されました。pretalxでは英語のサポートが充実していると思っていますが、問題やエラーが発生した場合は、ぜひご連絡ください。

Unlocking the Power of Python's Collections Module
2024/09/27 , 4F Track3

Are you looking to take your Python skills to the next level? Join us for an exciting deep dive into the collections module, a powerful part of Python’s standard library that offers specialized data structures beyond the usual lists and dictionaries. We’ll explore using collections to write cleaner, more efficient, and more readable code. From namedtuple to defaultdict, you’ll learn about different data structures and see practical examples of how they can simplify your coding tasks. Whether you're just starting out or looking to optimize your projects, this session will give you the tools you need to make your Python programs more robust and elegant.


この題材を選んだ理由やきっかけ

I chose this topic because the collections module is a powerful but often underutilized part of Python. It offers specialized data structures that can make code more efficient and readable. Sharing this knowledge will help others improve their coding practices and discover new tools to enhance their Python projects

オーディエンスが持って帰れる具体的な知識やノウハウ

The audience will gain a thorough understanding of the key data structures in the collections module, such as namedtuple, deque, Counter, OrderedDict, and defaultdict. They will see practical examples that demonstrate how to implement and use these structures in real-world scenarios, helping to make their code more efficient and readable. Additionally, attendees will learn how these specialized data structures can enhance the performance of their programs compared to using the built-in options. By understanding the advantages and appropriate use cases for each structure, they will be able to write cleaner, more maintainable code. The talk will also provide performance tips and best practices, ensuring that the audience can effectively leverage these tools in their own projects.

オーディエンスに求める前提知識

Basic understanding of Python programming language fundamentals

オーディエンスの経験レベル

Beginner

発表の言語

English

発表資料の言語

English

I'm a Software Engineer at Rakuten with a bachelor's degree in Computer Engineering from UFSCar (Federal University of São Carlos - Brazil). Creator of the ArgQ! Browser Extension, designed for analyzing political arguments. I am an active member of the Python community through Grupy Sanca and enjoy participating in programming contests.