Idiomatic Python : Using Named Tuples

Published: 15 April 2023
on channel: MathByte Academy
1,382
75

Using named tuples is often overlooked. When tuples are viewed as data structures, rather than just "immutable lists", named tuples enable us to add semantic meaning to each element of a tuple. This makes the named tuple ideal when returning multiple values (i.e. returning a tuple of results) from a function call.

#mathbyteacademy #python

Code for this Video
================
Available in GitHub blog repo: https://github.com/fbaptiste/python-blog
Direct link: https://tinyurl.com/2p9psdna

My Python Courses
=================

Python 3 Fundamentals (introduction to Python)
https://www.udemy.com/course/python3-...

Python 3 Deep Dive (Part 1 - Functional)
https://www.udemy.com/course/python-3...

Python 3 Deep Dive (Part 2 - Iteration, Generators)
https://www.udemy.com/course/python-3...

Python 3 Deep Dive (Part 3 - Hash Maps)
https://www.udemy.com/course/python-3...

Python 3 Deep Dive (Part 4 - OOP)
https://www.udemy.com/course/python-3...


On this page of the site you can watch the video online Idiomatic Python : Using Named Tuples with a duration of hours minute second in good quality, which was uploaded by the user MathByte Academy 15 April 2023, share the link with friends and acquaintances, this video has already been watched 1,382 times on youtube and it was liked by 75 viewers. Enjoy your viewing!