python 将txt 表格转化为excel

import pandas as pd

data = pd.read_table('horseColicTraining.txt')
data.columns=list(range(data.shape[1]))

data.to_excel('data.xls')

提取密码 6ey2

posted @ 2022-08-19 22:59  luoganttcc  阅读(189)  评论(0编辑  收藏  举报