A couple of times in the video I said "set function" when I really should have said "set class". FYI
@vinodkumar-zf6vk
6 жыл бұрын
Thats Totally Okay . your video is awesome
@jasonjluo
6 жыл бұрын
can you please do an oauth2 tutorial?
@helantopia
5 жыл бұрын
Thank you so much for making these videos Corey! I discovered your videos after failing my exam on Python and with just a week of watching your videos I passed the retake exam with a 1,7 !!! 😍 I honestly can't thank you enough, I also really enjoy programming now :)
@coreyms
5 жыл бұрын
That's awesome! Congrats on your test scores! Glad to hear you're finding it more enjoyable now. It definitely takes time, but if you stick with it then it becomes very fulfilling. Best of luck!
@randomthingz9631
Жыл бұрын
dumb shit
@alexmomotov792
6 жыл бұрын
Yaaay! First video in a while! Hope you keep making them Corey, you are the best Python teacher ever.
@coreyms
6 жыл бұрын
Thanks. I’m going to try to get on a schedule of releasing almost every week, but it is difficult when also working on larger courses. But I will try. We’ll see how it goes.
@aloksingh422
6 жыл бұрын
You are super sir ..🙏🏻 keep going
@sajnashetty8970
6 жыл бұрын
Don't get sleep while watching Corey Videos :)I love his Voice.
@jamesbrown6591
5 жыл бұрын
Your python channel is the best i've found for self-learning, thank you!
@deojeetsarkar2006
5 жыл бұрын
I failed to search for a solution online to a question, it was nowhere but here. He is the master-answer to Python.
@deviwadala
5 жыл бұрын
You are straight from heaven , free lessons and so informative , thank you !!!!
@DongWonHanDWONH
5 жыл бұрын
I never have wrote any comment in KZitem video until now, but I got to say your videos are really awesome! Great help to me. Thank you!!
@coreyms
5 жыл бұрын
Thanks!
@Ram-bt6yt
3 жыл бұрын
Thank you very much! I was waiting for the last 1 min. Time complexity part! Sets are really powerful!
@brotherlui5956
6 жыл бұрын
Wasn't interested in sets so far but now i know how to handle them
@Chris_87BC
2 жыл бұрын
Great presentation, Corey! I recently used set(a1) - set(a2) to find claims in set a1 not in set a2 :) I am starting to like sets as the calculation was done super-fast. List comparison was very slow
@opalprestonshirley1700
4 жыл бұрын
Another great video. I not an expert but I am learning from your vids. Thanks.
@Arrowtake
5 жыл бұрын
Thank you Corey for your great videos. You have made so many exellent videos that are such a treasure for learning python.
@fahimahmed3732
3 жыл бұрын
such an underrated channel
@xainch2360
5 жыл бұрын
Best instructor ever!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :)
@BrendanMetcalfe
4 жыл бұрын
The intersection stuff was interesting. Thanks!
@abhisheksharma-ib5vw
6 жыл бұрын
You are the best among best...
@Suwarrr
6 жыл бұрын
You're the best,Corey Shafer!Awesome video!
@Pulsar77
5 жыл бұрын
An important caveat is that sets don't preserve order. So the elements of newlist = list(set(oldlist)) can end up in a different order than in oldlist. If you want to remove duplicates from a list while preserving order, use an OrderedDict: newlist = list(OrderedDict.fromkeys(oldlist).keys()) In Python 3.6 or later, you can simply use dict: newlist = list(dict.fromkeys(oldlist).keys())
@dhaval1489
5 жыл бұрын
Combining Set with SQLlite3 can give huge comfort level in writing code and getting macro level data easy
@anorderedhole2197
5 жыл бұрын
This solved a problem in a major way. Thanks.
@MUZIXABA
6 жыл бұрын
Another great tutorial from Mr Schafer.
@mdsharukkabirsazib1965
5 ай бұрын
simple and best to understand thanks.
@soumyazyx
4 жыл бұрын
Thank you for your time and effort. Keep spreading the knowledge.
@hubertcombomarketing2693
4 жыл бұрын
Great Python Sets Tutorial. Thank You.
@DarkToLight88_
Жыл бұрын
Your channel will help me pass my class. Thank you Sir!
@guilhermehx7159
6 жыл бұрын
Your videos are very helpful Corey, thanks!
@jyothi26rab
Жыл бұрын
Thank you sir ur class was very clear and easy to understand, honestly thank u for making this vedio god bless
@aditipatil7377
4 жыл бұрын
Awesome. To the point and neatly explained. Great job !
@javiers2133
6 жыл бұрын
You're the best, the day I can make some money scripting, no doubt I'm going to pay you!!!!
@soumyazyx
4 жыл бұрын
Hello. Request you to prepare a python tutorial on "co-routines". That will be great in clearing some air around the otherwise confusing topic.
@nunya_bizness24
2 жыл бұрын
Pretty sure I'm gonna give this man a shoutout when I graduate
@nomanabid7113
5 жыл бұрын
16:13 shame on those two for not having awesome job or staying in shape xDDDDD
@borninthedark7915
4 жыл бұрын
I lol'd.
@1polyron1
3 жыл бұрын
@@borninthedark7915 I combusted
@pavelivakin8177
6 жыл бұрын
Thank you! Awesome work. You motivate me to refactor my «membership test» stuff :)
@MrGamit1209
4 жыл бұрын
Very good video. Thanks
@utkarshgautam1940
3 жыл бұрын
ohh my god ,man i never seen anyone who teaches soo good,this guy here is awesome,im from india watching and learning from ur nice stufff man,u totally nailed it
@noobinvestor3180
6 жыл бұрын
Hi Corey..love all your videos...No one better imo...Maybe you can add also why it takes only O(1) for a set and why we should use set while searching if order of the items is not an issue --- My personal suggestion
@coreyms
6 жыл бұрын
I thought about adding more details but didn't want to make it too confusing. I probably should've provided additional material for those who are interested though. Here is further reading on how sets are implemented and why they are accessed in constant time... stackoverflow.com/questions/3949310/how-is-set-implemented
@willofirony
6 жыл бұрын
At the risk of being pedantic, isn't the search operation of a random list O(n/2)? One ceases to search after finding. If the list is sorted, searching would be O(log n) worst case when using a Binary Search..
@noobinvestor3180
6 жыл бұрын
Hi Michael, searching a element at either end of the list will give O(1) time complexity, whereas for elements within the list will have O(n) time, by using binary search in a sorted list, yes the search time will be O(logn)
@shazkingdom1702
5 жыл бұрын
This is good for observing patterns... i 🤔 ..... best Channel!
@mohammadakhtar9792
6 жыл бұрын
As always great video Corey!
@matanerez8221
5 жыл бұрын
Great video! love the simple examples and the detailed explanations. Well Done!
@adesuwabeckyporter3640
3 жыл бұрын
I love your collection of books in your wishlist and your clear interest in exploring the conscious mind. I imagine it'd be so fun to go deep with you on the topic, exploring our thoughts both in "conscious" and "altered" state, documenting our perception of both states. lol.. yes I could have said that in fewer words but.. lol.. recruiter lurkers happen.. lol
@thebuggser2752
3 жыл бұрын
Another great video! Might want to mention set equality.
@narasimharajuballapura1
4 жыл бұрын
just watched this video and subscribed : )
@DebojitBhadra
6 жыл бұрын
As always your tutorials are best
@nikhileshsaggere
3 жыл бұрын
Excellent tutorial
@victornikolov537
6 жыл бұрын
I love to watch your videos, Corey. Keep going! You're the best I know. Pyramid stuff soon? :)
@henryyao4860
4 жыл бұрын
Thank you!
@AdamSmith-ux5if
6 жыл бұрын
Hi Corey! You’re fckn awesome man! Thanks for the videos!
@coreyms
6 жыл бұрын
Thanks!
@dishydez
3 жыл бұрын
This was great! Thanks!
@thattoofunny
6 жыл бұрын
You're the best... Keep it coming....
@Happymoon789
5 жыл бұрын
Thanks, a clear instruction on set👍
@ivanniku2204
4 жыл бұрын
Really usefull bro thanks
@abhisheksharma-ib5vw
6 жыл бұрын
Ultimate ....keep up the good work
@Mikey-nh9jf
6 жыл бұрын
Great stuff man!
@coreyms
6 жыл бұрын
Thanks!
@trava4156
5 жыл бұрын
This is awesome! Thank you
@PaulSmith-zs5je
6 жыл бұрын
Who learnt something new? Great video
@thengakola6217
4 жыл бұрын
I didnt know this duplicating method......thanks
@ahmedjumaah9727
5 жыл бұрын
Thanks for the good content Corey, helping a lot. Would be very helpful to prepare some videos about common algorithms for coding interview questions.
@frankliva7438
3 жыл бұрын
thanks so much buddy!!! it really helped
@tranthanhbao9978
5 жыл бұрын
Great video !!
@user-pt4vn5hr2z
5 жыл бұрын
Corey thank you!.
@smoothbeak
3 жыл бұрын
Great info!
@raraju789
6 жыл бұрын
Please do a video on multiprocess
@orkhanahmadov9963
3 жыл бұрын
very informative video thank you so much
@sumanmondal8836
3 жыл бұрын
Thank You!
@barbarairena6714
6 жыл бұрын
can so give me an practical example of how to use O(n) and O(1) ? thanx
@rudela9900
4 жыл бұрын
Would you be so kind as to go over the very basics of neural networks, using very basic number sequences and involving nothing more than numpy, if necessary? Thanks a lot for a great job.
@bingolio
2 жыл бұрын
Excellent, thx.
@akshadrathod9203
2 жыл бұрын
nicely explain!!
@pakapeta7772
2 жыл бұрын
Thanks man!
@jagmeetsond6075
3 жыл бұрын
please keep up the good work, thanks a lot!
@nesrineb21
4 ай бұрын
excellent !!!
@annakh9543
5 жыл бұрын
thank you, very good explanation :)
@ramanak2213
4 жыл бұрын
Thank u
@convolucion1981
4 жыл бұрын
Great!
@lephucnguyen8750
5 жыл бұрын
Thank you so much, this video is very helpful!
@jessicabrown1987
4 жыл бұрын
Thank you so much for these
@rimmagizzatova9364
2 жыл бұрын
Thanks a lot!
@KlinikXOfficial
4 жыл бұрын
would of been awesome if you added union method in there.
@MouhamedSourangProfile
3 жыл бұрын
Amazing!!
@subashchandrapakhrin3537
3 жыл бұрын
Good One
@ashok9588
4 жыл бұрын
best ever
@priyabratasaha4339
6 жыл бұрын
Hello Corey, Love your videos. I am currently focusing on metaprogramming in python. Your video on decorator helped a lot. can you suggest some good resources about meta classes and descriptors. Thanks a lot for your effort
@unrapidist84
5 жыл бұрын
when you write 6.7,8 (min3:31) you insert a space for all of the with one command. how can I do that?
@coreyms
5 жыл бұрын
I am using an auto-linter within Sublime Text. If you watch my video on setting up a Python development environment in Sublime Text then I show how to do this in that video.
@gianfrancomirto8765
4 жыл бұрын
Perfect Video!!! Just wondering is there any videos you know that look at the underlying code of the methods of add add,discard and such?? Thank you
@carpediem73
3 жыл бұрын
thanks
@hamzashabbir3589
2 жыл бұрын
Why Set has O(1) Complexity? Didn't understand that. Lits is Fine O(n) as it traverses each element to find a value.
@akhilpadmanaban3242
2 жыл бұрын
Hey, what is the time complexity of list(set(l1) ),,...Is that O(n)
@DevastaingDj
5 жыл бұрын
Thank you so much!
@owen7081
4 жыл бұрын
Your awesome, this helped a lot.
@aev6075
Жыл бұрын
So why ever use remove instead of discard unless you want to catch that error and do something with that?
@monzuruljhoney001
4 жыл бұрын
Why does SET take O(1) ? Is it usung Hash Algorithm or some others?
@programmer4833
4 жыл бұрын
I do have a question : I didn't understand the last comment you made about O(n) for lists and O(1) for sets. What does that mean ?
@sebastiancristicastillo479
4 жыл бұрын
That is a notation that says how much time it will take to complete, depending the size of the operation. being O(n) the time the operation takes to complete increase as the list grow in size, but O(1) is constant and will not be affected by the size of the data set. You can search for more info about it looking for "Big O notation"
@mihaiconstantin6815
4 жыл бұрын
Hey! You're videos are fantastic, but trying some things by my self while watching your video, i've come up with this: ss1 = {1,2,3,4,8,9,11} ss2 = {2,3,4,5} ss3 = {3,4,5,6} ssx = {2,3,5,6} ss5 = ss1.difference(ss2, ss3, ssx) print (ss5) #output -> {8, 1, 11, 9} Please explain me why this order?
@iToastDevice
2 жыл бұрын
the return output from sets are not in any specific order
@sfr36
Жыл бұрын
we use sets where the order is not important. it has random order assigned to it. this is why indexing is also not supported like lists
@parsakhavarinejad
5 жыл бұрын
great
@klaik30
4 жыл бұрын
One thing I don't really get is how some of these inbuilt functions can be so much faster than any other function you could yourself write. Doesn't the program have to do the same thing but more when I first convert the list into a set then the set into a list again? Doesn't it still have to go through every element and check if it has already saved a certain value? What magic is happening behind the curtains?
@IsaacC20
6 жыл бұрын
I'm surprised you didn't cover how to make sets of custom user objects.
@expat2010
3 жыл бұрын
IDK about anyone else, but generally I am working with datasets. SO for me, what is missing from this video and many others, is how to use a function like this working with a dataset. For example, how to search a column for a member of a set.
@LearningOrbis
3 жыл бұрын
There is no column for the number in set. There is no order of elements inside the set. You can watch detailed videos on different Data Sets at my Channel :)
@sagarmehta3515
6 жыл бұрын
Hi Corey, could you please add some tutorials on the magic methods ( setattr, getattr, setattribute, getattribute )
@jasondeb2678
3 жыл бұрын
could you please explain big O' notation in a separate video, that would be very helpful?
Пікірлер: 173