I didnt find anything for this question in stackoverflow, so please be patient with me and i didnt get any idea to work this out, please bear with me.
Below is my code:
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
example docx:
docx1 contains:
Hello guys how are you all, hope you guys doing good.
docx2 contains:
I dont know what to write here
docx3 contains:
We are strong together ! do we ?
expected output:
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 ?
hope i get some response. Thank you in advance.