I have a dataframe like this:
No Data Sentence
32 xxx yyyy
45 hhh uuuu
. . .
. . .
8726 aaa bbbb
Where the No column is unordered, now I have x which is list of sentences and I want to add that list to the Sentence column after my last index. So my new dataframe will look like:
No Data Sentence
32 xxx yyyy
45 hhh uuuu
. . .
. . .
8726 aaa bbbb
NaN NaN x[0]
NaN NaN x[1]
. . .
. . .
NaN NaN x[n]
I know we can directly assign list to column by assign function but it'll assign list value from beginning and I don't even know size of my list. Can someone help me with this?