The FULL Guide To Itertools For Python Developers

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • In this video I will be showing you how every methiod in the Itertools module works, so that you will have a far easier time using the correct methods in your code.
    ▶ Become job-ready with Python:
    www.indently.io
    ▶ Follow me on Instagram:
    / indentlyreels
    00:00 Intro
    00:14 What are Itertools?
    00:54 count()
    02:22 cycle()
    03:55 repeat()
    05:09 accumulate()
    06:21 chain()
    07:06 compress()
    08:21 dropwhile()
    09:41 filterfalse()
    11:26 groupby()
    14:18 islice()
    15:22 pairwise()
    16:24 starmap()
    19:13 takewhile()
    20:21 tee()
    20:59 zip_longest()
    23:33 product()
    24:42 permutations()
    26:13 combinations()
    27:19 combinations_with_replacement()
    28:25 Conclusion

Komentáře • 26

  • @randhawaverma9314
    @randhawaverma9314 Před rokem +2

    Thanks for these videos. These are helping me a lot on learning different space of Python

  • @cerealport2726
    @cerealport2726 Před rokem +1

    Excellent video, I learned a few things I wish i had known before, and will now use in the future

  • @90hijacked
    @90hijacked Před 6 měsíci +2

    ♥ groupby product permutations

  • @SkyFly19853
    @SkyFly19853 Před rokem +1

    Thank you very much for this useful tutorial.

  • @kevon217
    @kevon217 Před rokem

    So useful, thanks!

  • @whitewhalo
    @whitewhalo Před rokem

    Oh, hell yeah - I just wanted to watch something on Itertools, thanks!

  • @VaibhavSharma-zj4gk
    @VaibhavSharma-zj4gk Před rokem

    Thank you you are very very helpful..

  • @chawaphiri1196
    @chawaphiri1196 Před 11 měsíci

    thank you for this tutorial

  • @valcubeto
    @valcubeto Před 2 dny

    naming something combinations_with_replacement is wild

  • @velicihanates3288
    @velicihanates3288 Před rokem

    Can you make a video about validators module?

  • @littlehuman4860
    @littlehuman4860 Před rokem

    sometimes i forgets that i am watching your video at 2x speed, bcuz of the clarity of the voice

  • @sam_tech_tv
    @sam_tech_tv Před rokem

    👍👍👍👍👍👍

  • @user-pn6kq5mx4z
    @user-pn6kq5mx4z Před rokem

    What difference between permutation and combination?

    • @sethdon1100
      @sethdon1100 Před rokem +1

      Permutations list all ordered list of items, while combinations list all non-ordered list of items. To be more specific, for a permutation, (a,b)!=(b,a) while for combinations, (a,b)==(b,a)

  • @muuur
    @muuur Před rokem

    Very useful and interesting, but I didn't understand the difference between tee and repeat

    • @DrDeuteron
      @DrDeuteron Před 11 měsíci +1

      repeat emits and object of any type, while tee returns a tuple of the same iterator.

  • @littlehuman4860
    @littlehuman4860 Před rokem

    can you check "code" module and "shutil" module

  • @DrDeuteron
    @DrDeuteron Před 19 dny

    Pow takes 3 arguments!

  • @yasink18
    @yasink18 Před 7 měsíci

    pairwise is not present

  • @peshotod
    @peshotod Před 5 měsíci

    You know, std:: replaced with using namespace std;

    • @aperson99936
      @aperson99936 Před 4 měsíci

      could you please explain? I don't get the meaning of your comment