Tutorial 3- Python Sets, Dictionaries and Tuples

  Рет қаралды 215,833

Krish Naik

Krish Naik

Күн бұрын

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 KZfaq CHANNEL

Пікірлер: 92
@nurulnajwasafie2508
@nurulnajwasafie2508 2 жыл бұрын
Thanks a lot for the tutorial. I'm basically following your python playlist. It helps a lot for newbie like me.
@pritishpattnaik4674
@pritishpattnaik4674 2 жыл бұрын
Ur videos + Documentation brushed off my python skills :)
@user-xn5ut5pn2h
@user-xn5ut5pn2h 10 ай бұрын
i love the way you explained everything was so easily to understand
@awakenwithoutcoffee
@awakenwithoutcoffee 2 ай бұрын
you are an amazing teacher Krish. Much appreciated!
@shivendradubey4239
@shivendradubey4239 4 жыл бұрын
Best 👍💯 I want more videos this playlist
@afrinahossain328
@afrinahossain328 3 жыл бұрын
Your videos help me a lot to get a clear idea. Thanks for the tutorials. Keep going.
@DeepakSharma_youtube
@DeepakSharma_youtube 4 жыл бұрын
[] = Brackets () = Parenthesis {} = Curly Braces In-built = Built-In At one time I also used to call them interchangeably :)
@rusteze4710
@rusteze4710 4 жыл бұрын
Eagerly waiting for more videos on deployment
@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
@uditarora1215
@uditarora1215 3 жыл бұрын
Brief and concise perfect content for learning ❤️🔥🔥🔥💯
@dr.narendrakumar3503
@dr.narendrakumar3503 Жыл бұрын
Nice help to aspirants of python learning
@arandomwho
@arandomwho 2 жыл бұрын
thanks for all your amazing video
@koustavpaul3525
@koustavpaul3525 Ай бұрын
Thank you sir for this outstanding tutorial.
@shubhamchaudhary7322
@shubhamchaudhary7322 3 жыл бұрын
done...heading to video number 7 :)
@tejaswigutta9017
@tejaswigutta9017 4 жыл бұрын
Sir,please upload videos on sql related to data science as well!
@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.
@nagrajwellness9720
@nagrajwellness9720 2 жыл бұрын
Neat and clear sir love you
@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)
@ashayjain2134
@ashayjain2134 4 жыл бұрын
Hit like if you are here after seeing Krish's latest video on How to learn Data Science using his videos !
@poojanpatel6885
@poojanpatel6885 12 күн бұрын
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 ?
@143balug
@143balug 4 жыл бұрын
Thank you very much, these videos are giving me much command on python related to ML
@shahidhassan3553
@shahidhassan3553 4 жыл бұрын
How to find it on the git hub? Please help
@arvindjoshi803
@arvindjoshi803 9 ай бұрын
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
@saddamshaikh9285
@saddamshaikh9285 4 жыл бұрын
thank you so much.. sir..
@srinugnt2002
@srinugnt2002 4 жыл бұрын
when to use single quote and when to use double quotes?
@rohitshende8788
@rohitshende8788 3 жыл бұрын
Sir I'm not able to overwrite Audi with Maruti even after writing as it is
@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 🔥
@chaitanyasunkara6115
@chaitanyasunkara6115 3 жыл бұрын
Thank you Krish
@louerleseigneur4532
@louerleseigneur4532 3 жыл бұрын
Thanks Krish
@arpitashukla2544
@arpitashukla2544 Жыл бұрын
thanks a lot for the tutroial.
@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.
@dhananjayapattnaik7428
@dhananjayapattnaik7428 4 жыл бұрын
Sir when will you start ml
@Aabara_ka_dabara
@Aabara_ka_dabara 2 жыл бұрын
awesome..sir
@kalyaniaksv9518
@kalyaniaksv9518 4 жыл бұрын
sir please make a complete videos on artificial intelligence course
@rahuliyer4927
@rahuliyer4927 9 ай бұрын
Thanks was helpful
@RiseUpRevolution816
@RiseUpRevolution816 3 ай бұрын
how did u change the order of cells??? in 3:27
@navinn.luthrianavinn.luthr9532
@navinn.luthrianavinn.luthr9532 3 жыл бұрын
Thank you sir 🙏
@mokshaGyanRam
@mokshaGyanRam 3 жыл бұрын
sir you did not specify the access operation for sets
@gauravsharma5616
@gauravsharma5616 2 жыл бұрын
sir where are for loop while loop videos in playlist
@vishalrana2185
@vishalrana2185 4 жыл бұрын
Hey krish could you please rectify the voice issue for your upcoming videos.
@thokchomphalgunisingh2199
@thokchomphalgunisingh2199 3 жыл бұрын
where can i practice
@aamnasuhail4468
@aamnasuhail4468 3 жыл бұрын
Done and implemented
@gayleale
@gayleale 2 жыл бұрын
Thank you!
@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}}" ]
@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 жыл бұрын
you can press tab after the dot to show the inbuilt functions
@indreshkumar8820
@indreshkumar8820 Жыл бұрын
sir in my jupyter notebook inbuilt function is not suggesting. what can i do ?
@abhibhosale6877
@abhibhosale6877 11 ай бұрын
google it
@moviemagicful
@moviemagicful 2 жыл бұрын
Sir can u explain me how did u right sets definition above d cell
@FaizanAli-fd4uw
@FaizanAli-fd4uw 2 жыл бұрын
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
@hometvfirestick
@hometvfirestick 2 жыл бұрын
thanks
@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))
@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 टपल
@beastrocks2341
@beastrocks2341 4 жыл бұрын
Sir can we use pycharm instead
@gurpreetsingh-mp7xw
@gurpreetsingh-mp7xw 2 жыл бұрын
waiting for mysql playlist.
@deepalisharma1327
@deepalisharma1327 3 жыл бұрын
how do we retrieve elements from a SET?
@hometvfirestick
@hometvfirestick 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
@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
@simanchalpatnaik2566
@simanchalpatnaik2566 4 жыл бұрын
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 жыл бұрын
Yes. Tuple has only count Nd index i guess
@soumalyadutta3941
@soumalyadutta3941 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?
@robertdowneyjr.6926
@robertdowneyjr.6926 4 жыл бұрын
you should keep studying
@prithviraj627
@prithviraj627 2 жыл бұрын
@@robertdowneyjr.6926 LOL!
@awkumyoungstar2473
@awkumyoungstar2473 Ай бұрын
sir set start from {} not from () this
@CRTagadiya
@CRTagadiya 4 жыл бұрын
Which software you are using for recording
@nagendrababuavula6629
@nagendrababuavula6629 4 жыл бұрын
In python Jupiter note book
@amoghus
@amoghus 3 жыл бұрын
@@nagendrababuavula6629 no
@amoghus
@amoghus 3 жыл бұрын
He is mostly using obs for screen recording.
@indirajithkv7793
@indirajithkv7793 2 жыл бұрын
@mokshaGyanRam
@mokshaGyanRam 3 жыл бұрын
Dictionary is same as javascript object ditto
@hardikmehta140
@hardikmehta140 Жыл бұрын
Completed 28 June 2023
@vishals8307
@vishals8307 4 жыл бұрын
Sir we need tutorial for numpy , pandas , matplotlib and other libraries also.
@krishnaik06
@krishnaik06 4 жыл бұрын
Yes that will be next
@kushshri05
@kushshri05 4 жыл бұрын
Yes, I too want.. plz do ASAP
@samarthjuneja7616
@samarthjuneja7616 22 күн бұрын
Completed on 30/06/2024
@masc0648
@masc0648 3 жыл бұрын
[] -- list {} --- set/dict () -- tuple
@pranitadas3479
@pranitadas3479 4 жыл бұрын
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 KZfaq Channel and teach others
@aakashp4404
@aakashp4404 Жыл бұрын
@@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.
@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 жыл бұрын
@@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?
@kvinaya14
@kvinaya14 4 жыл бұрын
How to Google helps us sir .. without remembering
@gajulaamar9656
@gajulaamar9656 2 жыл бұрын
How we remember without help from google
@vineetkrpandey7641
@vineetkrpandey7641 3 ай бұрын
video3//12/04/2024 Done Sets, dictionaries and tuples
@pratimbaidya1480
@pratimbaidya1480 2 жыл бұрын
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 жыл бұрын
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
@JacklinSibiyal
@JacklinSibiyal 5 ай бұрын
Day 1 - 16/02/2024
@boredeggyolk7969
@boredeggyolk7969 3 жыл бұрын
my brain stop
Tutorial 4 - Numpy and Inbuilt Functions Tutorial
26:42
Krish Naik
Рет қаралды 296 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,1 МЛН
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 23 МЛН
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 13 МЛН
How To Become Expertise in Exploratory Data Analysis
10:05
Krish Naik
Рет қаралды 175 М.
Python dictionaries are easy 📙
8:06
Bro Code
Рет қаралды 207 М.
Tutorial 2 - Python List  and Boolean Variables
21:49
Krish Naik
Рет қаралды 322 М.
Python Hash Sets Explained & Demonstrated - Computerphile
18:39
Computerphile
Рет қаралды 111 М.
How To Learn Data Science Smartly?
12:13
Krish Naik
Рет қаралды 1,6 МЛН
Debugging 101: Replace print() with icecream ic()
12:36
NeuralNine
Рет қаралды 361 М.
Tutorial 1- Anaconda Installation and Python Basics
19:05
Krish Naik
Рет қаралды 466 М.
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 423 М.
Dictionary in Python
12:24
Telusko
Рет қаралды 1,3 МЛН