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
Thanks a lot for the tutorial. I'm basically following your python playlist. It helps a lot for newbie like me.
i love the way you explained everything was so easily to understand
Ur videos + Documentation brushed off my python skills :)
you are an amazing teacher Krish. Much appreciated!
Best 👍💯 I want more videos this playlist
Your videos help me a lot to get a clear idea. Thanks for the tutorials. Keep going.
Brief and concise perfect content for learning ❤️🔥🔥🔥💯
Eagerly waiting for more videos on deployment
Thank you sir for this outstanding tutorial.
[] = Brackets
() = Parenthesis
{} = Curly Braces
In-built = Built-In
At one time I also used to call them interchangeably :)
thanks for all your amazing video
Nice help to aspirants of python learning
Neat and clear sir love you
thank you so much.. sir..
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
done...heading to video number 7 :)
Sir,please upload videos on sql related to data science as well!
Thank you Krish
thanks a lot for the tutroial.
awesome..sir
Thanks Krish
Thank you sir 🙏
Thank you very much, these videos are giving me much command on python related to ML
Thanks was helpful
Thank you!
Done and implemented
Hit like if you are here after seeing Krish's latest video on How to learn Data Science using his videos !
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.
Sir, please upload rest of the videos at the earliest.. Excited to learn them 🔥
sir please make a complete videos on artificial intelligence course
thanks
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
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.
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?
you should keep studying
@@robertdowneyjr.6926 LOL!
Hey krish could you please rectify the voice issue for your upcoming videos.
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 टपल
❤
waiting for mysql playlist.
After creating nested dictionaries how to make a for loop to print only the years which you have shown in example sir.
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)
when to use single quote and when to use double quotes?
Sir when will you start ml
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 ?
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 ?
Yes. Tuple has only count Nd index i guess
How to find it on the git hub? Please help
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?
you can press tab after the dot to show the inbuilt functions
sir where are for loop while loop videos in playlist
Completed 28 June 2023
Sir can u explain me how did u right sets definition above d cell
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
Sir I'm not able to overwrite Audi with Maruti even after writing as it is
sir you did not specify the access operation for sets
Completed on 30/06/2024
Sir we need tutorial for numpy , pandas , matplotlib and other libraries also.
Yes that will be next
Yes, I too want.. plz do ASAP
[] -- list
{} --- set/dict
() -- tuple
how did u change the order of cells??? in 3:27
Hi Krish,
There is a minor mistake in the notebook , instead of str_example.isnum() it will be str_example.isnumeric()
if you know more then Krish sir the why don't you open your own UA-cam Channel and teach others
@@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.
Which software you are using for recording
In python Jupiter note book
@@nagendrababuavula6629 no
He is mostly using obs for screen recording.
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...???
#seq is the given list
result = filter(lambda x: x % 2, seq)
print(list(result))
sir in my jupyter notebook inbuilt function is not suggesting. what can i do ?
google it
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}}"
]
where can i practice
how do we retrieve elements from a SET?
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
Dictionary is same as javascript object ditto
Do Set arrange the items alphabetically by its own
It takes the order given by the user.
@@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?
sir set start from {} not from () this
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?
set makes an ordered list i tried it with numeric values too
video3//12/04/2024
Done Sets, dictionaries and tuples
Sir can we use pycharm instead
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.
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
How to Google helps us sir .. without remembering
How we remember without help from google
Day 1 - 16/02/2024
my brain stop