如何将此数据框转换为 json?

时间:2021-03-28 17:34:19

标签: r json dataframe

如何将同一用户 ID 的 'movieID' 列转换为 json 格式?例如,我希望它看起来像 [{'movieID': 31}, {'movieID': 1029}... etc]。

我希望我的输出是什么样的(制作公司专栏):

enter image description here

我当前的数据框:

enter image description here

0 个答案:

没有答案
相关问题