【发布时间】:2021-09-21 03:08:10
【问题描述】:
我在stackoverflow中没有找到任何关于这个问题的信息,所以请耐心等待我,我没有任何想法解决这个问题,请多多包涵。
下面是我的代码:
v_doc
for root, dirs, files in os.walk(paths):
for t in files:
if t.endswith('.xlsx'):
v_doc.append(Document(t))
# say like, there are 3 docx which contains simple sentences. how to put
#those sentences into seperate dataframe columns for each docx sentences ? i have many docx. n number of docx
示例文档:
docx1 包含:
Hello guys how are you all, hope you guys doing good.
docx2 包含:
I dont know what to write here
docx3 包含:
We are strong together ! do we ?
预期输出:
dataframe:
column1 column2
#Hello guys how are you all, hope you guys doing good. #I don't know what to write here
column3
#We are strong together ! do we ?
希望我能得到一些回应。提前谢谢你。
【问题讨论】:
-
这不是最小的可复现代码sn-p--试着让它复现
标签: python arrays regex dataframe numpy