使用Python从JSON格式提取数据
df= [{'id': 16, 'name': 'Animation'},
{'id': 35, 'name': 'Comedy'},
{'id': 10751, 'name': 'Family'}]
如何从这种格式中提取数据?
输出应该看起来像这样:
id Name
16 Animation
35 Comedy
10751 Family
df= [{'id': 16, 'name': 'Animation'},
{'id': 35, 'name': 'Comedy'},
{'id': 10751, 'name': 'Family'}]
How could I extract data from this format?
The output should look like this:
id Name
16 Animation
35 Comedy
10751 Family
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不知道这里有什么实际问题,但是您正在寻找这样的问题吗?
Not sure what is the actual problem here, but are you looking for something like this?