I want to explode the keys in a Python dict such that if I have as input:
d = {"first":
{"second_a": 3, "second_b": 4},
"another": 2,
"anotherone": {"third_a": {"last": 3}}
}
I will get as output a list of the exploded keys:
["first.second_a",
"first.second_b",
"another",
"anotherone.third_a.last"
]
Do you know any utility function that does this?
Thank you!