Python產生People.json訓練數據

因爲spark作業中需要大量數據集,又無法下載,所以自己用python生成相應格式的數據: 產生的數據格式如下圖: 代碼如下去: #!/usr/bin/env python # encoding: utf-8 """ @Company:華中科技大學電氣學院聚變與等離子研究所 @version: V1.0 @author: Victor @contact: [email protected] or
相關文章
相關標籤/搜索