【python】读取json文件数据并保存为HDF5文件
读取 JSON 文件的前 1000 行数据,并将这 1000 行数据储存为 HDF5 数据文件,命名为user_study.h5。import pandas as pdimport jsondef convert(file): fileobj = open(file) filedata = fileobj.read() jsondata = json.loads(filedata)[...
原创
2019-09-13 16:46:42 ·
1437 阅读 ·
0 评论