Python - Accessing Nested Dictionary Keys

  Рет қаралды 187,451

Academind

Academind

Күн бұрын

Пікірлер: 256
@rajguptaverma
@rajguptaverma 3 жыл бұрын
No much nested code..... a very simple presentation..... a great video...finally got relevant information...Thank you
@raghavendragowda3997
@raghavendragowda3997 5 жыл бұрын
So delicate, detailed, precise and iterative explanation which can save any beginner or experienced Python developer's day. Hats off to the patience level and step-by-step explanation!!!
@academind
@academind 5 жыл бұрын
Just wonderful to read that Raghavendra, thank you so much!
@ininvideos
@ininvideos 4 жыл бұрын
You did a good job explaining and breaking down nested lists and nested dictionaries in a json file. Best tutorial.
@ashxos
@ashxos 3 жыл бұрын
This is Amazing! I was searching for nested list examples on blogs, youtube for a week. After one week, today I got this video in KZbin Search. What a relief! This is the best video of Nested list example ever. Thanks a Lot!
@brentsimpson3791
@brentsimpson3791 2 жыл бұрын
Mate! I'm new at Python, but this one video has unlocked the whole dictionary and table within a dictionary within a table thing...I had quite literally sampled numerous whiskeys over it... so if you're ever in NZ look me up.
@deepshah737
@deepshah737 2 жыл бұрын
I am studying AWS boto3 and understanding Nested Dicts was a struggle for me for weeks! I can't believe how taught me this concept in few minutes! Thank you so much! I wish you great health!
@bobdesilets2077
@bobdesilets2077 4 жыл бұрын
I've struggled with understanding how to pull out specific information in nested dictionaries for a long time now. Not only do finally understand the type errors I was getting, I have a much better idea of how to do basic code development in Jupyter. Thank you!!!
@bobby_bouche
@bobby_bouche 2 жыл бұрын
this is me right now, I just failed a class quiz on extracting specific values from nested dictionaries. I feel so utterly dumb right now so here I am, diving into this vid to hopefully figure out why my stupid brain can't figure it out!
@timlambert4955
@timlambert4955 3 жыл бұрын
This was a really well done video. Well organised and executed. The teacher deserves Kudos!
@lailymedha595
@lailymedha595 2 жыл бұрын
couldn't agree more! 🙌
@nataliagomes5541
@nataliagomes5541 3 жыл бұрын
what an incredible explanation. Nothing on the internet compares to this video about json. Seriously, thank you so much!!!!! I paused the video all happy because I'm understanding to give thanks from my heart. Thank you! You have an amazing didactic, explain very well, in detail and with patience for beginners. I'll come back more often on your channel.
@aybikegundogdu9872
@aybikegundogdu9872 2 жыл бұрын
This video saved me. I have been stuck on this task at my job for two weeks now and finally I see the light at the end of the tunnel 😂
@Deepathanya_1424
@Deepathanya_1424 3 ай бұрын
even me, now it was helpful
@ParleysWoodedJourney
@ParleysWoodedJourney 2 жыл бұрын
Thank you so much for this. It really helped that you went from dictionary to list to a dictionary to list . . . and then showed each step individually and then at the end showed how they can all be daisy-chained into nested loops. saved and added to my personal python playlist
@krishnakiranvajha3175
@krishnakiranvajha3175 3 жыл бұрын
Explained the difficult nested json in a simpler way breaking down first then applied the same into python code ....I struggled writing complex ones ...after watching this I could write easily...Thanks so much !!
@tmmason10
@tmmason10 4 жыл бұрын
I looked all afternoon and this was so clear to understand.
@puttygutt
@puttygutt 3 жыл бұрын
Fantastic overview of navigating nested dictionaries! Incredibly helpful. Thank you.
@samanthaanita
@samanthaanita 2 жыл бұрын
you're the GOAT. This kind of material is going to be present on my midterm tomorrow, and I felt so enlightened after watching this video. BIG UP TO YOU!!!
@alvaroramirez8151
@alvaroramirez8151 2 жыл бұрын
Is it possible to find just the right video you were looking for? Yes. Great video
@adamkeinan1535
@adamkeinan1535 2 жыл бұрын
You are a genius! im a Senior DevOps Engineer and still learning from you each time!!! well done sir!!!
@adamkeinan1535
@adamkeinan1535 2 жыл бұрын
@@HadiArtIIst Not really. i was implementing few of the methods shown in the video on a API
@aliyanpops6424
@aliyanpops6424 3 жыл бұрын
Man Man Man I have been trying to figure this out for 2 days cause am a newbie, but you saved me...no you saved a lot of peeps out here. Thank you!!
@forwardclarity
@forwardclarity Жыл бұрын
This has to be the best video on the subject I’ve seen. Thanks man!
@DorothyQin-w5p
@DorothyQin-w5p Жыл бұрын
Thanks so much! I spent hours to go through TA's video but was still confused. This is definitely life-saving!
@rchur
@rchur 3 жыл бұрын
Hey Mate, thanks for the video. You did a good job in explaining how to write a parser for nested json. Today I successfully wrote my very first nested json parser after watching your KZbin video many times. I would like to express my sincere gratitude to you. All the best and stay safe. Cheers Rchur
@sarashan12
@sarashan12 8 ай бұрын
Fantastic walk through and great way to grasp the flow even for a starter . Keep creating videos like this
@timob12
@timob12 3 жыл бұрын
Super helpful, will need to review this several times but you helped a lot with my confusions of how to access a Dict when it outputs a list and then becomes a Dict again and then outputs a list and so on. Need to keep reminding myself to take a step by step approach
@ParleysWoodedJourney
@ParleysWoodedJourney 2 жыл бұрын
Is there a place we can still get the source file you used in your demonstration? The link in the description is dead.
@ashwithullal
@ashwithullal 4 жыл бұрын
Explained with super clarity.
@caioborgonha3900
@caioborgonha3900 8 ай бұрын
Great job! This is really a practical example to train and use on our daily jobs
@antonietapintorebelo5020
@antonietapintorebelo5020 5 жыл бұрын
Thank you so much! You saved my ass for my Graduation Internship
@academind
@academind 5 жыл бұрын
Happy to read that the video was helpful Antonieta :)
@eliyassala3505
@eliyassala3505 3 жыл бұрын
Thanks! This is useful when first dealing with a raw JSON response and want to parse through the data to get specific values.
@palo8818
@palo8818 2 жыл бұрын
I couldn't find the JSON file in description, but I followed using my own. Thank you ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
@TashieTash
@TashieTash 4 жыл бұрын
Thank you so much! this helped me out! best tutorial ever!
@danielhaycraft7004
@danielhaycraft7004 2 жыл бұрын
thank you for this! literally took two seconds to scan along what you were doing and i realized where i was going wrong lol! thank you! Subscribed**
@easydatascience2508
@easydatascience2508 Жыл бұрын
You can try mine too. The channel has both Python and R playlists, with downloadable source files.
@cesarrivas3743
@cesarrivas3743 4 жыл бұрын
Thanks for the good explanation, understanding that jsons are basically dictionarys and lists make a great impact!
@fujimorikuro895
@fujimorikuro895 5 жыл бұрын
This was helpful for me, your way of explaining is really spot on too, because even I understood what was being explained lolol, good job and thanks!
@academind
@academind 5 жыл бұрын
Thank you Kuro, happy to read that the video was helpful!
@leodigiacomo
@leodigiacomo Жыл бұрын
This is great. explaining the logic and how to interpret the syntax. Thanks for this video!
@ryhanuddin9373
@ryhanuddin9373 2 жыл бұрын
Very Concise and to the point. Great video!
@getacho
@getacho 4 жыл бұрын
Excellent explanation about how to work with nested dictionaries. I was able to apply this knowledge with a very difficult json file. Thank you very much for your hard work.
@manojk1494
@manojk1494 2 жыл бұрын
Hi, I am unable to download the source file from your link. Error: This XML file does not appear to have any style information associated with it. The document tree is shown below. AccessDenied Access Denied G8QDM85DPG3DQM5M b/XNC5DM7r2vWBPsjvLp6dzwiFuFzMz8oUAKKJlpKMTfnyAnYCvtPX1F3eJVfAPsY+gLPkojJtc=
@xstuartfbarrettx
@xstuartfbarrettx 5 жыл бұрын
Excellent walk through. It was exactly what I was looking for. Thank you!
@academind
@academind 5 жыл бұрын
Thank you Stuart!
@Theworldofeverything_67
@Theworldofeverything_67 2 жыл бұрын
Best video for nested dictionaries 👍👍👍
@Rumi_Rune
@Rumi_Rune 3 жыл бұрын
This is a great tutorial for my small project challenge.
@wasislos
@wasislos 4 жыл бұрын
Thanks man a lot, i was a bit confused with json i got, couldnt understand what to do, but after your video it all made sense.
@abbisalmi1948
@abbisalmi1948 4 жыл бұрын
Thanks for the detailed explanation. Worth every minute.
@johnmartin9329
@johnmartin9329 3 жыл бұрын
BEST tutorial on python good and simple explanation thanks keep it up man u rocks
@xheer543
@xheer543 2 жыл бұрын
INSANELY HELPFUL THANK YOU MUCH.
@divyaarasu5057
@divyaarasu5057 3 жыл бұрын
Incredible. The best tutorial video I have ever seen 😊
@HSharpknifeedge
@HSharpknifeedge 5 жыл бұрын
Thanks for the video. Although I suggest you explain to your viewers, that you are using the Python context manager. When people come here to learn, they can be easily misled that whenever they want to work with a .json file, it is necessary to use the context manager. We both know that you can open a .json without this method.
@dilaragoral2259
@dilaragoral2259 4 жыл бұрын
at 5:25 i'm trying to see my read_content variable's type but it's saying type is list, not a dict. how could it be possible?
@S3shubham
@S3shubham 3 жыл бұрын
love you ... brother ... for this. i learned something new for you ..... You help me in my journey of learning python
@cardozoveronica
@cardozoveronica 6 ай бұрын
Super clear information here! thank you 💚
@sth7721
@sth7721 4 жыл бұрын
Very Nice Explanation in a simple manner. Keep it up. Thanks a Lot!!
@SOMEONE-eq5bu
@SOMEONE-eq5bu 3 жыл бұрын
very well simplified, much appreciate it.
@digambarmishra
@digambarmishra 2 жыл бұрын
I tried to download the source file but got message as access denied. Can you please give me access to this file.
@sanobarlambey7997
@sanobarlambey7997 4 жыл бұрын
Perfectly explained..thank you!
@detlefschulz-8879
@detlefschulz-8879 5 жыл бұрын
Sehr gut erklärt, vielen Dank!
@shailyrathore3071
@shailyrathore3071 3 жыл бұрын
Well explained. I was looking for this kind of session from long back. Thanks a lot.
@mommyfurry9596
@mommyfurry9596 3 жыл бұрын
Very clear and precise! Just like industry-based example. Thank you so much, more powers!
@beenasindia8000
@beenasindia8000 3 жыл бұрын
Best tutorial !! you made a difference to my learning . Thank you
@kaushikbose4988
@kaushikbose4988 4 жыл бұрын
Fantastic explanation. Hope to see more from you.
@scoobontheweb
@scoobontheweb 2 жыл бұрын
awesome explanation path... Thank you very much
@phsmack
@phsmack 3 жыл бұрын
This video saved my sanity. Give this man a tasty craft beer...unless he is a recovering alcoholic, in which case give him whatever he wants that is equivalent to the tasty craft beer.
@otroclinker
@otroclinker 5 жыл бұрын
Thanks so much, it really helped me. Keep doing great courses.
@joringrant
@joringrant 5 жыл бұрын
Is there anyway to do that without using nested for loops? Looking for something more efficient
@SriRam-yq4id
@SriRam-yq4id 3 жыл бұрын
Excellent Video and thanks for teaching us.
@ThiyaguShanmugam
@ThiyaguShanmugam 4 жыл бұрын
Very clear explanation.
@paudal5160
@paudal5160 3 жыл бұрын
How did you format Json data @ 24:07 ?
@will2see
@will2see 4 жыл бұрын
Great tutorial. One question: What did you press (and what is in your VS Code settings apart pep8 formatting) to format the list from the json file? Thank you.
@martinbutkiewicz8953
@martinbutkiewicz8953 4 жыл бұрын
seems vs code identifies this by the .json filename-extension. Once an .json file is loaded to VS Code press CTRL+ALT+F (like format)
@anwaralisathiopowershellac6093
@anwaralisathiopowershellac6093 4 жыл бұрын
thanks you explained delicately the difficult one ..
@maximelebreux2914
@maximelebreux2914 2 жыл бұрын
thank you very much for this tutoriel! Well explained!
@jiaouyang6305
@jiaouyang6305 3 жыл бұрын
Fantastic tutorial, thank you!
@angeljiminian5305
@angeljiminian5305 5 жыл бұрын
Thank you for the video. I noticed some peoples names came up more than once. It would have made sense in this lesson to have added the code to how you could have outputted results with non-repeated names.
@jndesign
@jndesign 2 жыл бұрын
Thank you for this it really clarified things for me.
@sagarsinghrajpoot3832
@sagarsinghrajpoot3832 5 жыл бұрын
Amazing ...2 words ...super liked and subscribed 😀
@academind
@academind 5 жыл бұрын
Thanks so much Sagar, so great to have you on board of our channel!
@Chillos100
@Chillos100 3 жыл бұрын
Brilliant!! Very well explained, thanks a lot!
@lindaphan9234
@lindaphan9234 5 жыл бұрын
Very clear explanation . Thank you!
@Germar0
@Germar0 2 жыл бұрын
Thank you very much for this explanation!
@aiishg_
@aiishg_ 3 жыл бұрын
How did you format the data in visual studio at the end of the video? Please let me know!
@karakol86
@karakol86 4 жыл бұрын
Using similar data, I converted the data to a pd.DataFrame (so it looks like a table) and the column that is the key becomes a column. In that column there are the nested dictionaries (one nested dictionary per row) in the dataframe. How do I “bring out” the rested dictionaries out of the column?? I don’t want to keep on doing the index for each value. Any assistance would be helpful.
@mirkoobkircher2571
@mirkoobkircher2571 5 жыл бұрын
Great stuff and super helpful! thanks so much for this. If I may ask one question on it: assuming in addition to "display_name" you'd also like to extract the value from "_class" key, how would you amend the code to end up with a 2d array for "save_data" instead of a 1d array with 1 column? e.x.: print(save_data) >>> [["user", "Maximilian Schwarzmüller"]["user","Bernd Raucher"]] thanks again!
@muhammadnaveedkhan6739
@muhammadnaveedkhan6739 3 жыл бұрын
Thank you sir. Excellent job
@kreendurron
@kreendurron 4 жыл бұрын
I try to make for loops make sense with naming. Eg for reply in data[replies]: print(reply)
@leportillow
@leportillow 4 жыл бұрын
Finally I understood this, thank you
@shubhamkumarsaurabh2728
@shubhamkumarsaurabh2728 4 жыл бұрын
Hi, If I want to remove remove 'url' for every item present in list "question_access" and print rest of the list , how can we do that ?
@skeldon66
@skeldon66 3 жыл бұрын
Great job explaining this topic thx
@deeek92
@deeek92 3 жыл бұрын
Pretty good explanation! Thanks a lot! :)
@pipedreamsnetwerk5110
@pipedreamsnetwerk5110 2 жыл бұрын
This was amazing, thank you
@healthdatascience6577
@healthdatascience6577 4 жыл бұрын
This video is saving me. Thanks!
@stefanvandenberg93
@stefanvandenberg93 3 жыл бұрын
Excellent explenation! Helped me out so much! Thanks a ton! :D:D
@russellsue8520
@russellsue8520 3 жыл бұрын
Thank you very much for this tutorial ❤️
@pukhrajsuthar7223
@pukhrajsuthar7223 2 жыл бұрын
Great, work really Very clear and precise! This is what exactly industry-based example. Thank you so much.
@info781
@info781 4 жыл бұрын
Great video, great examples. I needed to learn how to get some data from Github Api v4. The json is very deep, 8 or 9 layers all different types lists, dict, tuples. Thanks for helping me.
@basicmaths3443
@basicmaths3443 5 жыл бұрын
How to append that in separate columns of a dataframe?
@andriaginting60
@andriaginting60 3 жыл бұрын
I have question. Why we need loop for list ? what the loop do for the list data and put the data into variable. I tried to access 'replies' and tried directly access username data with replies_data['user']['display_name'] without loop then i got error "list indices must be integers or slices, not str" then i change the 'user' and 'display_name' with integer value and it's didn't work until i put loop and finally, I got the display_name value. Why i need loop for accessing the 'display_name'. Thanks
@avalealidzy6739
@avalealidzy6739 3 жыл бұрын
Excellent tutorial!!!
@duceparthiparthiban4441
@duceparthiparthiban4441 4 жыл бұрын
Thank you so much i want more examples for different ways keep it up
@karandhanak6015
@karandhanak6015 4 жыл бұрын
wonderful explanation. Thank you very much!
@denisglazer8413
@denisglazer8413 5 жыл бұрын
Great job explaining, sir! Thanks a lot!
@academind
@academind 5 жыл бұрын
Thanks a lot Denis!
@alextsavalos5692
@alextsavalos5692 3 жыл бұрын
excellent video ! Perfect explanations and veery helpful ! Thank you very much !
@ikezedev
@ikezedev 6 жыл бұрын
Thanks for this..... Still waiting for the data science parts. 😍.
@academind
@academind 6 жыл бұрын
At the moment we basically try to get started with data analysis/science related topics, so we'll hopefully get there in the future :)
@ikezedev
@ikezedev 6 жыл бұрын
Okay... Keeping my ears on the ground
@MattH479
@MattH479 6 жыл бұрын
Great tutorial and explanation!
@academind
@academind 6 жыл бұрын
Happy to read that Matt, thank you for your great feedback!
@y4miko
@y4miko 3 жыл бұрын
after the first dict when I do the look 'for...in' and I look at the type, it says string insteand of list... I don't know why I don't get a list out of the dictionnary
Python - Matplotlib Tutorial for Beginners
27:25
Academind
Рет қаралды 111 М.
Dictionary Comprehension - Create Complex Data Structures Step by Step
21:58
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
Python Tutorial: Working with JSON Data using the json Module
20:34
Corey Schafer
Рет қаралды 1,1 МЛН
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 771 М.
Flattening a JSON Object Using Recursion in Python
23:30
Coderbyte
Рет қаралды 12 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 818 М.
Handling JSON data with Python
18:44
PyLenin
Рет қаралды 67 М.
ALL 11 Dictionary Methods In Python EXPLAINED
9:26
Indently
Рет қаралды 69 М.
PARSING EXTREMELY NESTED JSON:  USING PYTHON | RECURSION
12:23
Mr Fugu Data Science
Рет қаралды 36 М.
Python dictionaries are easy 📙
8:06
Bro Code
Рет қаралды 270 М.