1

I am using Spacy nlp.pipe() for getting doc objects for text data in pandas Dataframe column but the parsed text returned as “text” in the code has length of only 32. However, the shape of dataframe is (14640, 16).
Here is the data link if someone wants to read the data.

nlp = spacy.load("en_core_web_sm")
for text in nlp.pipe(iter(df['text']), batch_size = 1000, n_threads=-1):
  print(text)

len(text)

Result:

32

Can someone help me with this what is going on? What I am doing wrong?