在python中将字典转换为pandas数据框

我在下面有一本字典: [{a:1,b:2} {a:4,c:2}]

对于上面的字典,我想更改为下面的pandas数据框:

a b c
1 2 -
4 - 2

有人可以帮助实现这一目标吗?