I am trying to make a dummy data where I would like to assign random sentences under the question column.
I am using from essential_generators import DocumentGenerator
to generate the random sentences.
for i, row in dummy.iterrows():
dummy['Question'] = gen.sentence()
I thought if I iterate each row and apply gen.sentence(), which randomly generates a sentence each time, i would get different sentences for my data of 1000 rows. However, it is result in giving me the same sentence for all 1000 rows.
What can I do to yield my desired result?