Python Tutorial - 6 [ Dictionary in Python | Functions - get, items, keys, values, pop ]

Published: 24 June 2020
on channel: Data Science Lovers
2,718
38

Connect with me on LinkedIn -   / rohit-grewal  

Watch our videos in Hindi on new channel:    / @itcourseseasy  

Purchase - Python Data Analysis Self Study Notes & All Projects Source Codes (Rs.499 only) - https://rzp.io/l/dslnotes239

Enrol in our Udemy courses :
1. Python Data Analytics 13 Projects - https://www.udemy.com/course/bigdata-...
2. Python For Data Science - https://www.udemy.com/course/python-f...
3. Numpy For Data Science - https://www.udemy.com/course/python-n...

---------------------------

In the video, we have explained what is Dictionary in Python.
This is a very useful and informative video for beginners.

A Dictionary is a combination of Keys and Values. These keys or values may be Integers, Floats, Strings.
The Keys and Values are separated by a colon ( : )
A Dictionary is created within { }

Dictionary = { Key1:Value1 , Key2:Value2 , Key3:Value3 }

Properties of a Dictionary :
1. It is a combination of Keys and Values
2. A dictionary doesn't allow duplicate keys in it. (But, we can enter duplicate values)
3. A dictionary is mutable. It means we can add, remove or change the items of a dictionary.

Dictionary functions :
.get('key') - To get the values against a key
.items() - To show all the items of the dictionary
.keys() - To show all the keys of the dictionary
.values() - To show all the values of the dictionary
.pop('key') - It deletes the key alongwith its value

This video is a part of our course - Data Analysis with Python ( Basics )

------------------

You must check our other Data Analytics Projects :

HR Data Analytics -    • Real Project – 13 | HR Data Analysis | Pyt...  
AI Market Financial Data Analysis -    • Real Project – 12 | AI' Financial Market D...  
Airlines' Flights Data Analysis -    • Analyse Airlines' Flights Dataset like a P...  
Spotify-YouTube Data Analysis -    • Project - 10 | Data Analysis with Python |...  
Project 9 -    • Analyse Sales Data like a Pro with Python ...  
Project 8 -    • Project - 8 | Data Analysis with Python | ...  
Project 7 -    • Project - 7 | Data Analysis with Python | ...  
Project 6 -    • Project - 6 | Data Analysis with Python | ...  
Project 5 -    • Project - 5 | Data Analysis with Python | ...  
Project 4 -    • Project - 4 | Data Analysis with Python | ...  
Project 3 -    • Project - 3 | Data Analysis with Python | ...  
Project 2 -    • Project - 2 | Data Analysis with Python | ...  
Project 1 -    • Project - 1 | Data Analysis with Python | ...  

----------------
Contact Mail Id : datasciencelovers@gmail.com

#python #dataanalytics #datascience


On this page of the site you can watch the video online Python Tutorial - 6 [ Dictionary in Python | Functions - get, items, keys, values, pop ] with a duration of hours minute second in good quality, which was uploaded by the user Data Science Lovers 24 June 2020, share the link with friends and acquaintances, this video has already been watched 2,718 times on youtube and it was liked by 38 viewers. Enjoy your viewing!