title: How to split a list of long strings into a new list with shorter strings?
body: <p>I want to split the <code>text of a novel</code> into its <code>chapters</code> and those chapters again into <code>chucks of 1000 words</code> each.
  I already created a list with my chapters but now I have no clue how to split those <code>list-elements</code> <em>automatically</em> into another list, to create a list for each chapter with the respective chunks.</p>
  <p>I can do it for one element but I'm really stuck here. I don't think that the solution is complicated but I just don't get it. (I assume some kind of loop would work?)</p>
  <pre><code>text = chapters[1]
  text = text.split()
  n = 1000
  batch = [' '.join(text[i:i+n]) for i in range(0,len(text),n)]
  </code></pre>
  <p>And would it be a better way to do work with dictionaries or a data frame? Thanks in advance!</p>