python格式的互相转换(array,list,str) #numpy的array转listleft_specturm_train.tolist()用to.list()既可#list转numpy的arraya = np.array(b)#字符串转listlist_convert = a.split() ##list转strstr_convert = ''.join(list) python 2023-10-14 47 点赞 0 评论 71 浏览