标签: python-3.x data-science
我正在尝试将大型json文件转换为python中的csv。转换后 但是,csv文件中存在的数据不完整。以下是我使用的代码。
import json with open('cleaned_twitter_elections_data.json', encoding='utf-8') as data_file: data = json.loads(data_file.read())