Python Collections Namedtuple Advanced

Advanced namedtuple usage
Creating named tuples with methods and defaults
Basic named tuple

#python #programming #tutorial #coding #collections #namedtuple #advanced

https://www.youtube.com/watch?v=RDRP8xi0QV0

Python Collections Namedtuple Advanced #advanced

YouTube

[Перевод] Скрытая цена словарей Python и три более безопасные альтернативы

Команда Python for Devs подготовила перевод статьи о том, почему словари Python могут незаметно подводить в продакшне и какие альтернативы помогают ловить ошибки раньше. В тексте разбираются dict , NamedTuple , dataclass и Pydantic — от быстрого прототипирования до строгой валидации данных.

https://habr.com/ru/articles/979024/

#python #dataclass #namedtuple #pydantic #валидация #словари

Скрытая цена словарей Python и три более безопасные альтернативы

Команда Python for Devs  подготовила перевод статьи о том, почему словари Python могут незаметно подводить в продакшне и какие альтернативы помогают ловить ошибки раньше. В тексте разбираются...

Хабр
Named Tuples in Python:
A named tuple lets you create lightweight, immutable objects with named fields for better readability and access than regular tuples.
#Python #PythonTips #NamedTuple #CodingTips #LearnPython #PythonDeveloper #CodeSmarter #100DaysOfCode #PythonHack #TechTip

Testing the Performance of Python Named Tuples: are named tuples slower than ordinary ones? Let's find out. (Spoiler alert: yes, a bit.)

https://codedrome.substack.com/p/testing-the-performance-of-python

#python #programming #tuple #namedtuple

Testing the Performance of Python Named Tuples

Are named tuples slower than ordinary ones? Let's find out. (Spoiler alert: yes, a bit.)

CodeDrome
Julia's terse #NamedTuple syntax with a semi-colon is ... cryptic on first exposure. And to me, not documented where I expected it to be, thus https://github.com/JuliaLang/julia/issues/53490 #JuliaLang
Types documentation in manual does not describe using implicit keyword arguments (semi-colon) · Issue #53490 · JuliaLang/julia

Julia 1.5 added a more concise syntax for creating NamedTuples using a semi-colon: https://julialang.org/blog/2020/08/julia-1.5-highlights/#implicit_keyword_argument_values Verbose example: julia> ...

GitHub

Tahukan teman-teman bahwa dalam pemrograman Python terdapat struktur data yang serupa dengan tuple tetapi menawarkan fasilitas untuk mengakses nilai dengan memanfaatkan nama? Struktur data ini bernama named tuple. Yuk simak ulasannya di video pembelajaran berikut ini.

#namedTuple #python #pemrograman #IndonesiaBelajar #tutorial #belajar #video #youtube #indonesia #informatika #ilkom #komputer

https://youtu.be/oWer71mWe_w

[Struktur Data 05] Belajar Named Tuple pada Pemrograman Python

YouTube