Collections in Python - Advanced Python 06 - Programming Tutorial

  Рет қаралды 100,195

Patrick Loeber

Patrick Loeber

Күн бұрын

Пікірлер: 68
@saivamsi9859
@saivamsi9859 3 жыл бұрын
There are many demanding money for this detailed explanation and offering their paid courses,but you came out different and helping us.Thanks Buddy this means a lot ♥️♥️
@fuehnix
@fuehnix 3 жыл бұрын
the best crash course python tutorial series I've ever found
@xkinkachu23
@xkinkachu23 4 жыл бұрын
How are you not famous? This was so clear!
@patloeber
@patloeber 4 жыл бұрын
Haha Thanks 😊
@gdthegreat
@gdthegreat 2 жыл бұрын
Man, your tutorials are nice and explaining good stuff in details with implementation, thanks for this.
@dabunnisher29
@dabunnisher29 4 жыл бұрын
I really like your tutorials. You do a very good job. Thank you for your efforts helping others like me.
@patloeber
@patloeber 4 жыл бұрын
Thanks for watching! I'm glad that you like it :)
@geekyprogrammer4831
@geekyprogrammer4831 4 жыл бұрын
This tutorial deserves more views! Great explaination buddy :)
@patloeber
@patloeber 4 жыл бұрын
Thanks :)
@marleyyousef9413
@marleyyousef9413 3 жыл бұрын
i know it's quite off topic but does anyone know a good place to watch new series online?
@b.f.skinner4383
@b.f.skinner4383 3 жыл бұрын
Great summary of Collections, thank you
@patloeber
@patloeber 3 жыл бұрын
Glad you like it!
@drexesnn561
@drexesnn561 4 жыл бұрын
Myexpectationset = {"Great", "fast"," logical"," memorizable"} if Myexpectationset : print ("Yes") --->output ---> Yes
@patloeber
@patloeber 4 жыл бұрын
Nice :D
@asdfasjdhfakhdshjfahs8034
@asdfasjdhfakhdshjfahs8034 3 жыл бұрын
Great tutorial! I wish the adds didn't pop up so often interrupting the video.
@ashwinip7756
@ashwinip7756 4 жыл бұрын
My Son Loved it Thank you
@icecreamman520
@icecreamman520 2 жыл бұрын
That is interesting. Can you use objects like tuples in counter? I think it would be more efficient to use a simple mean function or something, but might be helpful at some point to use counter with objects. 🤔
@abhishekkumarmishra9940
@abhishekkumarmishra9940 5 жыл бұрын
Thanks
@shubhjangid7881
@shubhjangid7881 4 жыл бұрын
Hey Python Engineer Which add-ons you are using for python development for sublime...
@patloeber
@patloeber 4 жыл бұрын
I'm using VS Code, Python Extension, pylint, and Code Runner Extension
@saurabhs619
@saurabhs619 3 жыл бұрын
well done !!
@koustav2008
@koustav2008 Жыл бұрын
EXCELLENT !!!
@circrna
@circrna Жыл бұрын
Fantastic!
@haroonrehman8156
@haroonrehman8156 Жыл бұрын
How can we remove the keyword deque that is appearing while we print the object.
@mohammadbilalniazi5987
@mohammadbilalniazi5987 5 жыл бұрын
thanks sir
@brianbrian4899
@brianbrian4899 4 жыл бұрын
Best Regards
@circrna
@circrna Жыл бұрын
Here is my suggestion to make this video more effective. Instead of deleting the lines, just comment them so that what you did is still there.
@thetruereality2
@thetruereality2 4 жыл бұрын
thank you
@abhimanyujena191
@abhimanyujena191 4 жыл бұрын
Thank you so much for your help
@fernandonakamuta1502
@fernandonakamuta1502 4 жыл бұрын
Very very useful :)
@patloeber
@patloeber 4 жыл бұрын
Thank you !
@unknownwellwisher6313
@unknownwellwisher6313 4 жыл бұрын
The best video buddy.. :D.. You got a new subscriber
@patloeber
@patloeber 4 жыл бұрын
Thank you :)
@slick0123
@slick0123 4 жыл бұрын
Great tutorial, thanks mate!
@patloeber
@patloeber 4 жыл бұрын
Thanks 😊
@manmathakumarkurapati1552
@manmathakumarkurapati1552 4 жыл бұрын
Great tutorials, Of much help
@patloeber
@patloeber 4 жыл бұрын
Thanks! Glad you like it
@maddy2u
@maddy2u 3 жыл бұрын
Amazing tutorial. Why was chainmap left out ?
@josephceli598
@josephceli598 4 жыл бұрын
what IDE are you using. Looks like you are on a Mac. I like that output view window on the bottom.
@patloeber
@patloeber 4 жыл бұрын
VS Code on the Mac, but it's cross-platform. It has an integrated terminal which I use for the output window.
@kishoreandra
@kishoreandra 4 жыл бұрын
Here one more subscriber !! Thanks to @Florin pop 🤚🏻
@patloeber
@patloeber 4 жыл бұрын
Cool :) I’m happy that you found your way here!
@kishoreandra
@kishoreandra 4 жыл бұрын
@@patloeber really excited to see more videos....hope vl go with some framework (flask or something else) too.....you have blessed with great voice.......cheers
@sujithgoud3535
@sujithgoud3535 4 жыл бұрын
Great video
@patloeber
@patloeber 4 жыл бұрын
thank you :)
@oddnumber8149
@oddnumber8149 4 жыл бұрын
defaultdict can i specifiy to return specific value?for instance d=55
@patloeber
@patloeber 4 жыл бұрын
you can do it with a little trick: my_dict = defaultdict(lambda: 55)
@ashwinip7756
@ashwinip7756 4 жыл бұрын
I subscribed by the way
@patloeber
@patloeber 4 жыл бұрын
Thank you :)
@brianbrian4899
@brianbrian4899 4 жыл бұрын
Is there a reason to use list(.elements) method when one could just use list(a)? I am asking because you mentioned how tuple is more useful than list as in tuple being a lot faster than lists
@patloeber
@patloeber 4 жыл бұрын
I'm not exactly sure what you mean? where in the video do i use list(elements)? with this syntax we simple create a list based on different elements. A tuple is not more useful in general. But it makes sense to use a tuple when you have a lot of elements and know that they are immutable. And yes then it has some performance advantages...
@lilrun7741
@lilrun7741 2 жыл бұрын
I think he means "What's a point of doing list(my_counter.elements()) instead list(a)"
@ManAcadie
@ManAcadie 3 жыл бұрын
I keep expecting you to start using redstone and pistons.
@vishalmitra_
@vishalmitra_ 4 жыл бұрын
hacker examples for named tuple good
@alfredsfutterkiste7534
@alfredsfutterkiste7534 3 жыл бұрын
Good video. However I am confused as to why you can pass the string 'x,y' when defining the namedtuple point and it recognizes it as 2 different attributes from the point class. Why does this work? Can you just list class attributes in a namedtuple like 'attr1,attr2,attr3' in the same string? EDIT: read the docs for nametuple which have this to say: "Alternatively, field_names can be a single string with each fieldname separated by whitespace and/or commas, for example 'x y' or 'x, y'." For those wondering the same.
@secondsight2091
@secondsight2091 3 жыл бұрын
Wheres chainmap?
@shyamananth
@shyamananth 4 жыл бұрын
Thanks for the tutorial. What is the realtime implementation/use of namedTuple when we already have classes and objects ?
@patloeber
@patloeber 4 жыл бұрын
Very good question! namedtuples are immutable, so you so would use them when you want the attributes stay fixed. Or when you don't need a full blown class but still want readable code. namedtuples are implemented a little bit more memory efficient than classes (because of this immutability). Moreover, namedtuples allow for more readable code, since the tuples are "self-documenting". sometimes it can also be better to use theme over a dictionary or normal tuple when you want to pass around immutable objects in your code.
@shyamananth
@shyamananth 4 жыл бұрын
@@patloeberComprehensively answered. Thanks a million!!
@spagetti6670
@spagetti6670 2 жыл бұрын
Comment on the las line 'somtimes it can aslo .... in your code'. aren't tuples immutable in the first place ? so why create a namedtuple if i am looking for immutability, and not a simple tuple ?
@tamalchakraborty5346
@tamalchakraborty5346 10 ай бұрын
€500 , he has a lot of Indian colleagues.
@hogr_ider
@hogr_ider 7 ай бұрын
how to send you money
@chethanb6406
@chethanb6406 3 жыл бұрын
please pronounce it as DQ
@mihaelacostea5783
@mihaelacostea5783 2 жыл бұрын
Oh dear, the defaultdict is SO poorly explained....
@carpediem73
@carpediem73 4 жыл бұрын
thanks
Itertools in Python - Advanced Python 07 - Programming Tutorial
15:23
Patrick Loeber
Рет қаралды 54 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 267 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 321 МЛН
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 68 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 43 МЛН
Python dataclasses will save you HOURS, also featuring attrs
8:50
Learn Python OOP in under 20 Minutes
18:32
Indently
Рет қаралды 97 М.
Python lists, sets, and tuples explained 🍍
15:06
Bro Code
Рет қаралды 304 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 324 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 412 М.
The Python collections module is OVERPOWERED
10:53
Carberra
Рет қаралды 12 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,2 МЛН
Python Decorators in 15 Minutes
15:14
Kite
Рет қаралды 450 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 321 МЛН