Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Help to flatten list of nested dictionaries
Post: RE: Help to flatten list of nested dictionaries

Holy elegant code, Batman! That sure beats my loopy mess. Much appreciated Larz60! Cheers.
shawbapmp General Coding Help 4 5,742 Feb-25-2019, 10:18 PM
    Thread: Help to flatten list of nested dictionaries
Post: RE: Help to flatten list of nested dictionaries

I'm new to this forum and I don't know how to insert those nice code snippet boxes, but here is what I tried. It works to flatten the dictionaries, but only if there are no [ and ] brackets around th...
shawbapmp General Coding Help 4 5,742 Feb-25-2019, 05:31 PM
    Thread: Help to flatten list of nested dictionaries
Post: Help to flatten list of nested dictionaries

Hi Py Developers, I'm a Python 3 newbie with problems trying to flatten a list of nested dictionaries. It is Oanda API candle data that looks like this: [{'mid': {'h': '1.31', 'o': '1.32', 'c': '1.33...
shawbapmp General Coding Help 4 5,742 Feb-24-2019, 06:34 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020