d_collapsed = {(outer_k, inner_k): inner_v for outer_k in d for inner_k,
    inner_v in list(d[outer_k].items())}
df = pd.DataFrame.from_dict(d_collapsed)
create Panel at Pandas by multi-level dictionary