Tutorial 3- Python Sets, Dictionaries and Tuples

Поділитися
Вставка
  • Опубліковано 14 лип 2024
  • Hello All,
    Welcome to the Python Crash Course. In this video we will see about python basics datatypes and operation
    github url : github.com/krishnaik06/Machin...
    Support me in Patreon: / 2340909
    Connect with me here:
    Twitter: / krishnaik06
    Facebook: / krishnaik06
    instagram: / krishnaik06
    If you like music support my brother's channel
    / @ultralifeproject
    Buy the Best book of Machine Learning, Deep Learning with python sklearn and tensorflow from below
    amazon url:
    www.amazon.in/Hands-Machine-L...
    You can buy my book on Finance with Machine Learning and Deep Learning from the below url
    amazon url: www.amazon.in/Hands-Python-Fi...
    Subscribe my unboxing Channel
    / @krishnaikhindi
    Below are the various playlist created on ML,Data Science and Deep Learning. Please subscribe and support the channel. Happy Learning!
    Deep Learning Playlist: • Tutorial 1- Introducti...
    Data Science Projects playlist: • Generative Adversarial...
    NLP playlist: • Natural Language Proce...
    Statistics Playlist: • Population vs Sample i...
    Feature Engineering playlist: • Feature Engineering in...
    Computer Vision playlist: • OpenCV Installation | ...
    Data Science Interview Question playlist: • Complete Life Cycle of...
    You can buy my book on Finance with Machine Learning and Deep Learning from the below url
    amazon url: www.amazon.in/Hands-Python-Fi...
    🙏🙏🙏🙏🙏🙏🙏🙏
    YOU JUST NEED TO DO
    3 THINGS to support my channel
    LIKE
    SHARE
    &
    SUBSCRIBE
    TO MY UA-cam CHANNEL

КОМЕНТАРІ • 92

  • @nurulnajwasafie2508
    @nurulnajwasafie2508 2 роки тому +6

    Thanks a lot for the tutorial. I'm basically following your python playlist. It helps a lot for newbie like me.

  • @user-xn5ut5pn2h
    @user-xn5ut5pn2h 10 місяців тому +2

    i love the way you explained everything was so easily to understand

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

    Ur videos + Documentation brushed off my python skills :)

  • @awakenwithoutcoffee
    @awakenwithoutcoffee 2 місяці тому

    you are an amazing teacher Krish. Much appreciated!

  • @shivendradubey4239
    @shivendradubey4239 4 роки тому +5

    Best 👍💯 I want more videos this playlist

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

    Your videos help me a lot to get a clear idea. Thanks for the tutorials. Keep going.

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

    Brief and concise perfect content for learning ❤️🔥🔥🔥💯

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

    Eagerly waiting for more videos on deployment

  • @koustavpaul3525
    @koustavpaul3525 Місяць тому

    Thank you sir for this outstanding tutorial.

  • @DeepakSharma_youtube
    @DeepakSharma_youtube 4 роки тому +22

    [] = Brackets
    () = Parenthesis
    {} = Curly Braces
    In-built = Built-In
    At one time I also used to call them interchangeably :)

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

    thanks for all your amazing video

  • @dr.narendrakumar3503
    @dr.narendrakumar3503 Рік тому

    Nice help to aspirants of python learning

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

    Neat and clear sir love you

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

    thank you so much.. sir..

  • @sarojrout227
    @sarojrout227 4 місяці тому

    great videos. just my 1 cent tip: there is a way to modify the tuple elements is to convert the tuple to a list and then change it and later convert that list again to tuple :) just a work around if anyone wants to change the tuple element

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

    done...heading to video number 7 :)

  • @tejaswigutta9017
    @tejaswigutta9017 4 роки тому +10

    Sir,please upload videos on sql related to data science as well!

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

    Thank you Krish

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

    thanks a lot for the tutroial.

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

    awesome..sir

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

    Thanks Krish

  • @navinn.luthrianavinn.luthr9532
    @navinn.luthrianavinn.luthr9532 3 роки тому

    Thank you sir 🙏

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

    Thank you very much, these videos are giving me much command on python related to ML

  • @rahuliyer4927
    @rahuliyer4927 8 місяців тому

    Thanks was helpful

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

    Thank you!

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

    Done and implemented

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

    Hit like if you are here after seeing Krish's latest video on How to learn Data Science using his videos !

  • @harshkr007
    @harshkr007 8 місяців тому

    In Python versions before 3.7, dictionaries were unordered. This means that:
    The order of items was arbitrary and unpredictable.
    Items could be accessed by key, but not by index.
    Iterating over the dictionary would yield items in an arbitrary order.
    This was because dictionaries in Python were implemented as hash tables under the hood. Hash tables store items based on their hash value, not their insertion order.
    However, starting with Python 3.7, dictionaries are ordered. This means:
    Items are stored and iterated in the order they were inserted.
    Items can be accessed by both key and index.

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

    Sir, please upload rest of the videos at the earliest.. Excited to learn them 🔥

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

    sir please make a complete videos on artificial intelligence course

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

    thanks

  • @arvindjoshi803
    @arvindjoshi803 9 місяців тому +1

    ordered (In Python 3.7 and higher version): dictionaries are ordered, which means that the items have a defined order, and that order will not change. A simple Hash Table consists of key-value pair arranged in pseudo-random order based on the calculations from Hash Function. Please correct it is an older version

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

    Hi krish sir, video is so nice and best one. but sir u said that no need to remember but what will be in intrvw?
    will they ask regarding all this. we understand concepts and also googling idea.

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

    This is actually good.. your videos are like quick notes for me.. keep going..
    I want some suggestions from you personally. What should I do?

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

    Hey krish could you please rectify the voice issue for your upcoming videos.

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

    You work is always appreciable but apart from everything.....what is tuple😂😂😂 टूयूपल i heard this word first time and i laughed alot because before it i heard टपल

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

  • @gurpreetsingh-mp7xw
    @gurpreetsingh-mp7xw 2 роки тому

    waiting for mysql playlist.

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

    After creating nested dictionaries how to make a for loop to print only the years which you have shown in example sir.

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

    sets arrange output alphabetically, bcoz i m getting so... different output if we directly see output for variable name and by using print(var name)

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

    when to use single quote and when to use double quotes?

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

    Sir when will you start ml

  • @poojanpatel6885
    @poojanpatel6885 4 дні тому

    while reteriving data from database. lets suppose there no value in one of the keys in dictionary.
    how can we handle it ??. like in react js there is a library called LODASH. is there anything similar for Python ?

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

    Hey Krish..Thanks for the video...Does Tuple is having only 2 inbuilt functions, because when I press Tab after Dot(Ex: tuple1. ) I am getting only 2 inbuilt functions (Count & Index) or it depends on Anaconda version ?

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

      Yes. Tuple has only count Nd index i guess

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

    How to find it on the git hub? Please help

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

    Hello Krish
    i want to say that how in your jupyter notebook when you use a dot operator after set or list name a list of inbuilt functions is displayed while when i am trying this in jupyter notebook it is not showing that prebuilt function list can you tell me?

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

      you can press tab after the dot to show the inbuilt functions

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

    sir where are for loop while loop videos in playlist

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

    Completed 28 June 2023

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

    Sir can u explain me how did u right sets definition above d cell

    • @FaizanAli-fd4uw
      @FaizanAli-fd4uw Рік тому

      Switch from code cell to markdown cell and type- #space Heading if u want to write heading or without #, type ur definition in the markdown cell

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

    Sir I'm not able to overwrite Audi with Maruti even after writing as it is

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

    sir you did not specify the access operation for sets

  • @samarthjuneja7616
    @samarthjuneja7616 15 днів тому

    Completed on 30/06/2024

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

    Sir we need tutorial for numpy , pandas , matplotlib and other libraries also.

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

      Yes that will be next

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

      Yes, I too want.. plz do ASAP

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

    [] -- list
    {} --- set/dict
    () -- tuple

  • @RiseUpRevolution816
    @RiseUpRevolution816 2 місяці тому

    how did u change the order of cells??? in 3:27

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

    Hi Krish,
    There is a minor mistake in the notebook , instead of str_example.isnum() it will be str_example.isnumeric()

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

      if you know more then Krish sir the why don't you open your own UA-cam Channel and teach others

    • @aakashp4404
      @aakashp4404 Рік тому +3

      @@AbhiAgarwalRA it's a person's perspective weather to open a channel or not his/her knowledge does not depend on that and @pranita thanks for sharing Ur knowledge.

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

    Which software you are using for recording

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

      In python Jupiter note book

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

      @@nagendrababuavula6629 no

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

      He is mostly using obs for screen recording.

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

    Sir I got a doubt.
    Please solve this question please.
    Write a program which can filter odd numbers in a list by using filter function...???

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

      #seq is the given list
      result = filter(lambda x: x % 2, seq)
      print(list(result))

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

    sir in my jupyter notebook inbuilt function is not suggesting. what can i do ?

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

    How to extract the nested dictionary and its data from this object list?
    I have given a data frame and in that there are multiple columns which have the string objects as nested dictionary. What could be the best way to extract the offer_price value and regular_price value from the given list of strings of nested dictionary?
    [
    "{'offer_price': {'currency': 'GBP', 'value': 35.0}, 'regular_price': {'currency': 'GBP', 'value': 35.0}}",
    "{'offer_price': {'currency': 'GBP', 'value': 25.0}, 'regular_price': {'currency': 'GBP', 'value': 25.0}}",
    "{'offer_price': {'currency': 'GBP', 'value': 15.0}, 'regular_price': {'currency': 'GBP', 'value': 15.0}}",
    "{'offer_price': {'currency': 'GBP', 'value': 150.0}, 'regular_price': {'currency': 'GBP', 'value': 150.0}}",
    "{'offer_price': {'currency': 'GBP', 'value': 55.0}, 'regular_price': {'currency': 'GBP', 'value': 55.0}}"
    ]

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

    where can i practice

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

    how do we retrieve elements from a SET?

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

      a={1,2,3,4}
      type(a) #to check the type
      print(a) #will print the whole set
      for ele in a: #iterating the set
      print(ele)
      check it

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

    Dictionary is same as javascript object ditto

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

    Do Set arrange the items alphabetically by its own

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

      It takes the order given by the user.

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

      @@amoghus at 2:12 he has put values in order avengers, ironman, hitman but the output comes in order
      ironman, avengers, hitman. How did this happen?

  • @awkumyoungstar2473
    @awkumyoungstar2473 Місяць тому

    sir set start from {} not from () this

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

    at 2:12 he has put values in order avengers, ironman, hitman but the output comes in order
    ironman, avengers, hitman. How did this happen?

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

      set makes an ordered list i tried it with numeric values too

  • @vineetkrpandey7641
    @vineetkrpandey7641 3 місяці тому

    video3//12/04/2024
    Done Sets, dictionaries and tuples

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

    Sir can we use pycharm instead

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

    sir, please dont asume all the students are from CS background or have coding experience in other languages before making videos. It will be very helpful for others also to understand.

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

    I am in dilemma
    Who it is possible that somebody is charging rupees around 50 thousands for this type course and you are providing it free.
    Can you explain me that who Udemy also provide the course at cheaper rate.
    I am confuse to go course which course one for which I have to spend 30000 and other courses from Udemy which charge 1000 and your course

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

    How to Google helps us sir .. without remembering

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

      How we remember without help from google

  • @JacklinSibiyal
    @JacklinSibiyal 4 місяці тому

    Day 1 - 16/02/2024

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

    my brain stop