# -*- coding: utf-8 -*- # @Author: fangbei # @Date: 2017-08-26 # @Original: price_str = '30.14, 29.58, 26.36, 32.56, 32.82' price_str = price_str.replace(' ', '') #删除空格 price_array = price_str.split(',') #转成数组 date_array = [] date_base = 20170118 '''…