Python Tricks: Unpacking tuples, lists, and other iterators

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Someone correct me if I'am wrong, but tuple, set, dict and list are iterABLES, not iterATORS. They don't have "__next__()" method, so they can't be iterators. Of course, if we do "iter(list)", "iter(set)", etc. then they would get the "__next__" and become iterator objects.

parizer
Автор

Please upload a detailed video about generator in python.

sdram
Автор

Do you know how to match two dataframes with the same value

Dopeboyz
Автор

You really dont sound like a dutchmen :)

wx
Автор

May i ask what is the editor used in this video?

yangliu