Python产生People.json训练数据

因为spark作业中需要大量数据集,又无法下载,所以自己用python生成相应格式的数据: 产生的数据格式如下图: 代码如下去: #!/usr/bin/env python # encoding: utf-8 """ @Company:华中科技大学电气学院聚变与等离子研究所 @version: V1.0 @author: Victor @contact: [email protected] or
相关文章
相关标签/搜索