Python's map and filter functions

Publicado el: 20 March 2023
en el canal de: Python Morsels
492
24

How do Python's built-in map and filter functions work? And should you use them or should you use list comprehensions or generator expressions instead?

Read an article version of this video at https://pym.dev/map-and-filter-python/

Find more Python screencasts at https://pym.dev/screencasts/

00:00 The map function transforms each item
00:38 The filter function filters items down
01:25 Map and filter are equivalent to writing a generator expression
02:24 Nested map and filter calls vs generator expressions
04:12 Summary


En esta página del sitio puede ver el video en línea Python's map and filter functions de Duración hora minuto segunda en buena calidad , que subió el usuario Python Morsels 20 March 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 492 veces y le gustó 24 a los espectadores. Disfruta viendo!