Python: Data Structures - Lists, Tuples, Sets & Dictionaries tutorial

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 268

  • @fireemblem2770
    @fireemblem2770 3 роки тому +7

    I'm a visual learner and cannot learn or pay attention to reading a whole bunch of jargon from an online textbook. You saved my life man. I appreciate you

  • @onceonly1111
    @onceonly1111 7 років тому +70

    This is the most comprehensive tutorial on lists I've found so far, very helpful for a beginner.

    • @onceonly1111
      @onceonly1111 7 років тому

      I noticed while practicing with this video, that .sort does not seem to sort a list containing strings and integers. By this point my list had strings, integers and a sublist, so I assume it was either the sublist or the mixed data that caused the error.

    • @djStens
      @djStens 4 роки тому

      2020, how's life?

    • @kamilbxl6
      @kamilbxl6 3 роки тому +1

      @@onceonly1111 what .sort() does is basically comparing strings alphanumerically OR integers by value, it cannot do both because you cannot compare a string to a number. It is the same for min (max etc..) he actually explained it at 5:24

    • @sanros3962
      @sanros3962 Рік тому

      just amazing, .....thanks

  • @shawnmccrum5072
    @shawnmccrum5072 7 років тому +90

    A+ quality, A+ content. For me, the video is a refresher - but you clarified quite a bit of information I forgot I forgot xD

    • @oggiai
      @oggiai  7 років тому +4

      +Shawn McCrum thanks.

    • @RelaxingMusic-ts9xx
      @RelaxingMusic-ts9xx 2 роки тому

      Amazing ya bro

    • @FoodNerds
      @FoodNerds Рік тому

      @@oggiaiHi Mr. James I just finished my financial aid and application to go back to college and study AI and Robotics and we have to learn Python. Thank you for giving me a little head start. I expected this to be very hard to understand but you’re making it comprehensible. Thank you.

  • @burgerzach
    @burgerzach 5 років тому +8

    I'm not only going to use this video as a reference, but I'll be sharing it to anyone that has a question on this topic in the future. Very concise and thorough.
    I do think it would help to put some timestamps in the description.

  • @dominicoreilly6934
    @dominicoreilly6934 4 роки тому +3

    Fantastic lecture. I appreciate how you prepare the slides in advance. So many UA-cam lecturers type the code as they go, it makes the course so slow. I learnt a lot in a short amount of time with your videos. Thank you once again.

  • @TuyetNguyen-ou2et
    @TuyetNguyen-ou2et 3 роки тому +5

    Such a great video for ppl who wanna review all the basic functions in python! Love how he organized all the of materials, so easy to follow

  • @indhirajaquez8296
    @indhirajaquez8296 5 років тому +3

    Very clear, for an elementary teacher with no time! A million thanks.

  • @erikagilo6855
    @erikagilo6855 6 років тому +17

    I seriously would rather watch your videos than attend my lecture class. Thank you for this! :)

  • @afriendfrommars5684
    @afriendfrommars5684 4 роки тому +2

    Dude you rocked it on the spot - practical, on the spot and not a word more than needed. Thanks

  • @theMuritz
    @theMuritz 2 роки тому +2

    Great refresher and especially useful to see the tables without frame switching every 2 seconds

  • @asadsalim1914
    @asadsalim1914 2 роки тому +1

    The most comprehensive guide for this topic

  • @luke2803
    @luke2803 4 роки тому +4

    Thank you so much for taking the time to put this together. Because of educators like yourself, we can teach ourselves programming, or, solidify concepts university makes convoluted. So appreciated

  • @johnmo1111
    @johnmo1111 Рік тому +1

    I've been programming python for a while but still picked up one or two things I had managed to miss from this. Good video thanks.

    • @oggiai
      @oggiai  Рік тому

      Glad it helped!

  • @eminedogan3125
    @eminedogan3125 2 роки тому +2

    Thank you so much being so generous of sharing your knowledge with us. Thank you from the bottom of my heart!!

  • @brookben6767
    @brookben6767 7 років тому

    Good quality , flawless presentation , good audio quality , no distraction

  • @helpmenowmark
    @helpmenowmark 8 років тому +37

    Thank you for taking the time. This was very helpful.

  • @etsegenetassefa3640
    @etsegenetassefa3640 12 днів тому

    Thank you so much, very informative! From Ethiopia 🇪🇹.

  • @nowonline2209
    @nowonline2209 3 роки тому +1

    Hi Joe, don't know who the thumbs down folk are but ignore them, you and your videos are simply class. Straightforward, clear, great examples, be proud of this great work 👊😀

  • @danielmorris5388
    @danielmorris5388 6 років тому +2

    Great video. Was really struggling with Python this semester but you've cleared up everything with your informative videos!

  • @kumark353
    @kumark353 5 років тому +2

    Very clearly explained ONCE for ALL.
    Thank you for taking time and sharing your knowledge.

  • @yorfindia
    @yorfindia 2 роки тому +1

    Within one minute you clear my doubt. your are awesome man 🙏

  • @samnik12345
    @samnik12345 6 років тому +2

    Thank you I didn't know many of the things you taught here.. specially that parentheses are optional or tuples. had to print screen all 36 slides to prepare for a interview

  • @donaldpowers7569
    @donaldpowers7569 8 років тому +5

    Where are your video at, as your a good speaker...Thank You
    I worked on this bridge in 1962 to 64 in NYC, I`m getting old this keep my mind sharper...

  • @Squanto22
    @Squanto22 5 років тому +3

    Wow. Fantastic tutorial, Joe! This has easily become one of the most helpful videos I've watched on basic data structures!

  • @eugeniosp3
    @eugeniosp3 4 роки тому +1

    Excellent video So far. Saved it to return and finish. Love your teaching style and how you use slides.

  • @kamronbeksolih3285
    @kamronbeksolih3285 2 роки тому

    Yomonmas. Yordami tegdi, rahmat Joe aka!

  • @0001-exe
    @0001-exe 3 роки тому +2

    THIS IS AMAZING! I now understand how to use them! Thank you so much!!

  • @agermoune
    @agermoune 2 роки тому +2

    Great content Joe and excellent teaching skills.
    Subscribed immediately.
    Thank you for your time!

  • @pythonlucas
    @pythonlucas 3 роки тому +3

    Thank you for this video about lists, it helped me out to solve the problem I was stuck with, which result I uploaded on my own channel. I like your content, your explanation is very clear. I hope my own script can be as clean, if someone could give me some feedback, I would really appreciate it. Thank you!

  • @mrrealer
    @mrrealer 8 років тому

    Joe, I have to say, you really helped me out with this video. I played it at half speed and spent over 10 hours making an outline and playing in idle manipulating sequences and lists. I never really understood this:
    for index, items in enumerate(x):
    print index, items.
    I do now!! Thanks again for the help. I really enjoyed it! Keep up the outstanding work!

    • @oggiai
      @oggiai  8 років тому +2

      +Dwayne Samuel thanks! I know the pace is brisk.
      You can also get all this summarized in a text document. Get the Python Review Guide from the Useful Utensils folder of my github site.

    • @oggiai
      @oggiai  8 років тому

      +SexJunkle thanks for the encouragement!

    • @meepmorp_aibo
      @meepmorp_aibo 2 роки тому

      @@oggiai Bro, I love you man

  • @HyoZLee
    @HyoZLee 2 роки тому +1

    Thank you so much for all the videos; am learning python and your videos are the best; Easy to understand.

  • @thebox6268
    @thebox6268 8 років тому +1

    Good job, first video I have found on UA-cam that covered that many functions. Everyone shows off one concept and calls it a day but you kept movin, great work. Gonna need to watch this again before my exam Tuesday (y). Thumbs up and subscribed.

    • @oggiai
      @oggiai  8 років тому +4

      +The Box thanks! Glad you liked it. I try to keep my videos under 10 minutes, but I think it's more effective to cover all these 4 structures in one sitting. It's like an hour of material compressed into 19 minutes, so it's definitely useful to watch it twice.

  • @SarthakAggarwalme
    @SarthakAggarwalme 4 роки тому +2

    I have an exam tomorrow and you just saved me

  • @jenniferclark7094
    @jenniferclark7094 7 років тому +5

    Awesome content, so simply prepared -- this is your calling Joe ---- thank you

  • @aditiisharma1673
    @aditiisharma1673 Рік тому +1

    very well explained sir...thank you so much..

  • @MichelleHell
    @MichelleHell 8 років тому +1

    Very good videos. I like how quickly you speak because I am a fast learner. Cheers!

    • @oggiai
      @oggiai  8 років тому

      +Michelle Hettinger thanks!

  • @baldeaglejprice
    @baldeaglejprice 6 років тому

    Thank you for taking the time to record all these examples.

  • @vivekgr3001
    @vivekgr3001 4 роки тому +1

    nice quick refresher

  • @Mohamed20017
    @Mohamed20017 5 років тому +1

    50-60% of all what python about in 19 minutes.. amazing work man

  • @FuturesLab_TV
    @FuturesLab_TV 3 роки тому

    This was a good review. Since I am self taught in python, this was very helpful to understand these data structures, and get a detailed overview of the most common functions to use on these data structure, when precisely it is appropriate to reach for any given one. Good work! I will be a better python programmer from this!

  • @TheGautamj
    @TheGautamj 4 роки тому +2

    A very well compiled video 👍🏼. I am making notes out of this

  • @margolitapnina6716
    @margolitapnina6716 2 роки тому +1

    whoaaa ❤️ you are super clear and the slides are perfet. I am super thankful

  • @Devakvp
    @Devakvp 2 роки тому +1

    Thank you for taking your time to explain us. Very informative and nicely explained 👌

  • @Aristocrator
    @Aristocrator 4 роки тому +1

    thanks for your pace. Just exactly what I needed. Saved me a ton of time.

  • @MrMoggz
    @MrMoggz 3 роки тому +1

    Thanks for the great video, very useful when prepping.

  • @Satya_1011
    @Satya_1011 7 місяців тому +1

    Helpful ❤love from India 🙏

  • @eduardouresticharre6873
    @eduardouresticharre6873 3 роки тому +1

    Exellent descriptions. Thanks for sharing!

  • @MhLiMz
    @MhLiMz 3 роки тому +1

    Good explanation, but I guess I only understood it all becasue I already know other languages such a C or PHP and now want to learn Python. I'm going to check out your other videos too :-)

  • @seeker_of_knowlage3568
    @seeker_of_knowlage3568 4 роки тому +2

    very good video. like those tutorials for money.

  • @karngusain8522
    @karngusain8522 7 років тому

    Thanks for being so kind, that will help person like me a newbie in python.

  • @linyang9536
    @linyang9536 6 років тому +3

    Thumb up, 19 min of comprehensive and explicit explanation. Can't be clearer even for beginner like me.

  • @wuxingcc
    @wuxingcc 8 років тому +4

    Thanks, great job for the video. It's like a free programming course review.

  • @nuwang1
    @nuwang1 6 років тому +4

    Thanks joe. Really needed a refresher, beautiful, thanks.

  • @barbobrien9318
    @barbobrien9318 4 роки тому +1

    OMG this video is jam-packed and sooooooooo helpful!

  • @srisrinivas9873
    @srisrinivas9873 6 років тому +1

    Awesome video with awesome examples and explanation. Thank you Very much Joe.

  • @snehipachchigar7726
    @snehipachchigar7726 6 років тому +4

    Perfectttt. Thank You so much. Cleared all my doubts!

  • @machireddyshyamsunder987
    @machireddyshyamsunder987 5 років тому +1

    Good and very simple explanation of DS . Thank you very very much

  • @alexandromaldonado2182
    @alexandromaldonado2182 6 років тому

    Awesome video. It will help me while working with with Boto3 and AWS dictionaries

  • @ravialwayswins
    @ravialwayswins 6 років тому +2

    Really liked your content and way of presenting it. Its good for me as a refresher :)

  • @dineshverma-in7on
    @dineshverma-in7on 3 роки тому

    In set data structure at 14:53, pop will not be random, pop element will be lowest element of set

  • @shokintouch348
    @shokintouch348 2 роки тому +1

    Extraordinary , Thanks

  • @lucasmota8263
    @lucasmota8263 8 років тому

    Excellent video, the presentation was very objective and gave simple examples easy to understand.

  • @s.baskaravishnu22
    @s.baskaravishnu22 6 років тому +2

    your video is excellent. Your video is very much useful to me, Many thanks for that. My warm regards to you.

    • @lilyana0
      @lilyana0 5 років тому +1

      you're welcome sir

  • @GiggleNuggetsZone
    @GiggleNuggetsZone 3 роки тому +1

    Very helpful. Thanks.

  • @ashfaqtunio1311
    @ashfaqtunio1311 8 років тому +1

    Great video, excellent learning! Thanks for making these

  • @CuAgFe
    @CuAgFe 6 років тому +1

    Very essential , good job I was looking for those structure and basic usage operators. Thanks

  • @MrGadau
    @MrGadau Рік тому +1

    thanks very much for this tutorials

    • @oggiai
      @oggiai  Рік тому

      Glad it was helpful!

  • @rabbitcreative
    @rabbitcreative 7 років тому

    Thank you. I'm familiar with Ruby. Show me the code, highlight the differences, and show me how to do common operations. Beautiful.

  • @bradybookook6907
    @bradybookook6907 6 років тому +2

    amazing video, thank you so much for sharing your knowledge.....

  • @LuciaSilva-ek3qr
    @LuciaSilva-ek3qr 3 роки тому

    Excellent video. Thank you so much!

  • @bhavinravalia9285
    @bhavinravalia9285 2 роки тому

    simply + well explained 👍👍👍👍

  • @mauroymgch339
    @mauroymgch339 7 років тому +1

    Excellent summary! Well explained. Thank you very much!

  • @coolboyzeeshan
    @coolboyzeeshan 7 років тому

    this is the intro that I needed

  • @mohamedreda6299
    @mohamedreda6299 3 роки тому +2

    thanks, it's helped me a lot, again thank you!

  • @elenasarita
    @elenasarita 9 місяців тому

    GREAT tutorial, thank you!

  • @YourNickIsTaken
    @YourNickIsTaken 7 років тому

    This was helpful.Thanks!
    I would like to watch a video on sorting functions regarding the dictionaries.

    • @oggiai
      @oggiai  7 років тому +1

      +YourNickIsTaken dictionaries are not sortable. You have to convert them to a list to sort.

    • @YourNickIsTaken
      @YourNickIsTaken 7 років тому

      Ok, i get it: dicts are unsorted.
      I was not clear on this :)
      I thought that i could iterate through a dict in order which is defined by a multi-level sorting function.
      How can i compare shoe size and age in a student dict?
      students = {'Jessie':{'shoesize':12, 'age':14}, 'Kate':{'shoesize':9, 'age':7}, 'Joe': {'shoesize':9, 'age':9}}
      How can i iterate the students with a sorting function that sorts the students by the shoe size and if it the shoe sizes are equal, compare the items by age.
      Ordering by shoe size would be Jessie(12), Kate(9), Joe(9). I can do that: sorted(students.iterkeys(), key=lambda x: students[x]['shoesize'], reverse=True) . Now Joe and Kate have the same shoe size, so the next task is to sort them by age too: Joe is older than Kate so final order would be:
      output: ('Jessie', 'Joe', 'Kate'). That's what i cannot do yet.
      I'm thinking about these kind of sorting. I've started python the last week and i'm not sure where to look when i bump into things like this.
      Also sorry for my bad English, this is my 2nd (non-programming) language.

  • @TheDavidlloydjones
    @TheDavidlloydjones 5 років тому +1

    Joe, At 6:22 you come close to emulating Admiral Hopper: her bug was a bug, while your bug is a "bug".

    • @oggiai
      @oggiai  5 років тому +1

      LOL. I take that as a compliment.

    • @TheDavidlloydjones
      @TheDavidlloydjones 5 років тому

      @@oggiai
      Joe, I don't think you're *quite* the Amazing Grace, but your UA-cams are straight ahead solid. Good work, good stuff.
      I'm learning a lot, so thank you.
      -dlj.

  • @Shewanee25
    @Shewanee25 6 років тому

    content is really good. This is very helpful for differentiating the data structures and their use as well.

  • @federicomanuelgarcia1442
    @federicomanuelgarcia1442 7 років тому

    Thank you for the quality of the tutorial it's very much appreciated

  • @2113626
    @2113626 6 років тому

    Very helpful. Worth watching the entire video.

  • @techytimo
    @techytimo 6 років тому

    Thank you for the work you put into this. Very handy

  • @noothanprasadacharibogiswa1610
    @noothanprasadacharibogiswa1610 5 років тому

    good video for better understanding

  • @egenwong6410
    @egenwong6410 5 років тому

    It's very helpful and cleanly. Thank you so much!

  • @SaiManojPrakhya
    @SaiManojPrakhya 4 роки тому +1

    Excellent, thank you so much!

  • @Whatzituya
    @Whatzituya 8 років тому +1

    Thank you so much! this helped me understand set more and I really needed that for my homework for my advanced Python class.

  • @qzorn4440
    @qzorn4440 8 років тому

    such great information in a short time. thanks.

  • @tecolote8566
    @tecolote8566 5 місяців тому +3

    NICE!!

  • @damiansuarez4457
    @damiansuarez4457 5 років тому

    One improvement on this already great video would be to mention that the index function returns an error if not found. The find function also didn't get to make an appearance.

    • @oggiai
      @oggiai  5 років тому +1

      Thanks for the feedback.

  • @satyabanMCA
    @satyabanMCA 7 років тому +1

    Great, explain very well, thanks James...

  • @yuhaooo8143
    @yuhaooo8143 6 років тому +2

    Thank you soooo much!!!! That’s absolutely useful!!! Awesome!!

  • @roh9934
    @roh9934 7 років тому

    Awesome,one of the best in python

  • @wingwing2683
    @wingwing2683 7 років тому

    It's very useful. Thanks Joe !

  • @enes-the-cat-father
    @enes-the-cat-father 4 роки тому +1

    Ty very much! This is a great video!

  • @keithk9626
    @keithk9626 8 років тому

    Great video Joe....Many Thanks

  • @BabyBalla3score
    @BabyBalla3score 7 років тому

    Great video! Very informative. Thank you

  • @bodenseeboys
    @bodenseeboys 5 років тому +2

    Music got me HYYYPEEED. LETS GO COMPUTER SCIENCE!!!

  • @LousyPainter
    @LousyPainter 9 років тому

    Great! Bring on more like this.

    • @oggiai
      @oggiai  9 років тому +1

      LousyPainter Thanks! I'm working on it.

  • @kripasindhu1968
    @kripasindhu1968 6 років тому +1

    Thanks Joe, You are Superb....

  • @MAMIDADASIVA
    @MAMIDADASIVA 6 років тому

    that was very clear and helpful thank you

  • @deepakgrao00
    @deepakgrao00 6 років тому +1

    Thanks so much. This is an awesome video, so helpful