,并期望单词的输出位于一列中,如图所示 我正在python中尝试类似的事情:
import pandas as pd
import numpy as np
import xlrd
df=pd.read_excel('es.xlsx', header=None)
df1=pd.Dataframe(df)
for column in df1:
df2=[df1].split()
df=pd.read_excel('input.xlsx', header=None)
df_list = df.values.tolist()
print("\nList: ")
#print(df_list)
df_output = df_list
df_output.to_excel('output.xlsx')```