# Flatten dicts of dicts in DataFrame

**URL:** <https://discourse.julialang.org/t/flatten-dicts-of-dicts-in-dataframe/125995>\
**Category:** General Usage\
**Tags:** dataframes\
**Created:** [February 17, 2025, 1:59pm UTC](https://discourse.julialang.org/t/flatten-dicts-of-dicts-in-dataframe/125995 "2025-02-17T13:59:17Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![rocco\_sprmnt21](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rocco_sprmnt21/32/20127_2.png) [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Post date:** [February 18, 2025, 9:30am UTC](https://discourse.julialang.org/t/flatten-dicts-of-dicts-in-dataframe/125995/8 "2025-02-18T09:30:41Z")

</div>

> [@stene](#):
>
> Albeit it will not work on some JSON data, since keys might be missing. On a more complicated case I got:  
> KeyError: key “xxxx” not found. Will report a separate bug, since the intention of the feature is great. A ready made feature was what I was looking for.

Maybe there is something [here](https://discourse.julialang.org/t/flattening-yfinance-jl-json-result-into-a-dataframe/96333/21) that (suitably adapted) could be useful for you. Can you provide some minimal but exhaustive examples of the cases that interest you?

---

_[View the full topic](https://discourse.julialang.org/t/flatten-dicts-of-dicts-in-dataframe/125995)._
