title: Convert dataframe into pandas.io.parsers.TextFileReader object (chunks)
body: <p>I've seen quite a few questions on how to segment a dataframe into various chunks. What I want is to know how to convert a dataframe into exactly the same object that you get when loading a csv file to a dataframe with the chunksize parameter i.e.</p>
  
  <pre><code>df = pd.read_csv(file_path, chunksize=1e5)
  type(df)
  &gt;&gt; pandas.io.parsers.TextFileReader
  </code></pre>
  
  <p>I want to recreate an identical TextFileReader object from a dataframe containing the dataframe data in various chunks. Any ideas on how to do this?</p>