划分字符串
x_kpi_time=np.zeros((20))
y_kpi_time = np.zeros((20))
i=0
for key, value in table.scan():
line_time=str(key).split('/'')
line_times_temp=str(value).split(':')
line_times=str(line_times_temp[1]).strip('/'')
# print(value)
x_kpi_time[i]=line_time[1]
y_kpi_time[i] = line_times
i = i + 1
划分字符串最先出现在Python成神之路。
共有 0 条评论