15 - Python Iterators

Pubblicato il: 11 gennaio 2019
sul canale di: Yogi Coder
235
6

#pythontraining
#python #iterators #comprehensive
A comprehensive view of 28 key iterators in Python


Table of Contents:

00:25 What is iteration
01:05 Why do we iterate things
01:45 Python Iterators

Different objects that iterate or are used with iterators in Python (with examples)
02:28 built in iter() (Manual Iteration)
03:46 A for loop
04:30 List comprehension
05:13 Generator Expressions (on-the-fly)
06:38 Generator Functions (reusable or suspended)
07:46 filter() function
08:49 map()
09:36 enumerate()
10:06 sorted()
10:33 any()
11:10 all()
11:36 zip()

Itertools Module
12:08 count()
13:32 cycle()

14:03 repeat()
14:34 chain()
15:24 islice()
16:08 tee()
17:12 startmap()
18:16 filterfalse()
19:21 takewhile()
20:20 dropwhile()
21:05 compress()
22:00 combinations()
22:53 permutations()
23:34 combinations with replacements()
24:30 zip_longest()
25:52 accumulate()

NOTE: The presentation on code may be found at the following link
https://github.com/theyogicoderRI/Pyt...


In questa pagina del sito puoi guardare il video online 15 - Python Iterators della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Yogi Coder 11 gennaio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 235 volte e gli è piaciuto 6 spettatori. Buona visione!